Package org.geotools.filter
Class DefaultExpression
Object
ExpressionAbstract
DefaultExpression
- All Implemented Interfaces:
Expression
- Direct Known Subclasses:
AttributeExpressionImpl
,ClassificationFunction
,FunctionExpressionImpl
,LiteralExpressionImpl
,MathExpressionImpl
Implements a default expression, with helpful variables and static methods.
- Author:
- Rob Hranac, Vision for New York
-
Field Summary
Fields inherited from interface Expression
NIL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
isAttributeExpression
(short expressionType) Checks to see if passed type is attribute.static boolean
isExpression
(short expressionType) Checks to see if passed type is geometry.protected static boolean
isFunctionExpression
(short expressionType) protected static boolean
isGeometryExpression
(short expressionType) Checks to see if passed type is geometry.protected static boolean
isLiteralExpression
(short expressionType) Checks to see if passed type is geometry.protected static boolean
isMathExpression
(short expressionType) Checks to see if passed type is math.Methods inherited from class ExpressionAbstract
evaluate, evaluate
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface Expression
accept
-
Constructor Details
-
DefaultExpression
public DefaultExpression()
-
-
Method Details
-
isAttributeExpression
protected static boolean isAttributeExpression(short expressionType) Checks to see if passed type is attribute.- Parameters:
expressionType
- Type of expression for check.- Returns:
- Whether or not this is an attribute expression type.
-
isMathExpression
protected static boolean isMathExpression(short expressionType) Checks to see if passed type is math.- Parameters:
expressionType
- Type of expression for check.- Returns:
- Whether or not this is a math expression type.
-
isLiteralExpression
protected static boolean isLiteralExpression(short expressionType) Checks to see if passed type is geometry.- Parameters:
expressionType
- Type of expression for check.- Returns:
- Whether or not this is a geometry expression type.
-
isGeometryExpression
protected static boolean isGeometryExpression(short expressionType) Checks to see if passed type is geometry.- Parameters:
expressionType
- Type of expression for check.- Returns:
- Whether or not this is a geometry expression type.
-
isExpression
public static boolean isExpression(short expressionType) Checks to see if passed type is geometry.- Parameters:
expressionType
- Type of expression for check.- Returns:
- Whether or not this is a geometry expression type.
-
isFunctionExpression
protected static boolean isFunctionExpression(short expressionType)
-