|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.filter.DefaultExpression
Implements a default expression, with helpful variables and static methods.
Field Summary | |
protected short |
expressionType
Defines the type of this expression. |
protected boolean |
permissiveConstruction
Defines the type of this expression. |
Fields inherited from interface org.geotools.filter.ExpressionType |
ATTRIBUTE, ATTRIBUTE_DOUBLE, ATTRIBUTE_GEOMETRY, ATTRIBUTE_INTEGER, ATTRIBUTE_STRING, ATTRIBUTE_UNDECLARED, FUNCTION, LITERAL_DOUBLE, LITERAL_GEOMETRY, LITERAL_INTEGER, LITERAL_STRING, MATH_ADD, MATH_DIVIDE, MATH_MULTIPLY, MATH_SUBTRACT |
Constructor Summary | |
DefaultExpression()
|
Method Summary | |
short |
getType()
Gets the type of this expression. |
java.lang.Object |
getValue(Feature feature)
Returns a value for this expression. |
protected static boolean |
isAttributeExpression(short expressionType)
Checks to see if passed type is attribute. |
protected static boolean |
isExpression(short expressionType)
Checks to see if passed type is geometry. |
protected static boolean |
isFunctionExpression(short expressionType)
Returns true if this is a |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.geotools.filter.Expression |
accept |
Field Detail |
protected short expressionType
protected boolean permissiveConstruction
Constructor Detail |
public DefaultExpression()
Method Detail |
public short getType()
getType
in interface Expression
public java.lang.Object getValue(Feature feature)
getValue
in interface Expression
feature
- Specified feature to use when returning value.
protected static boolean isAttributeExpression(short expressionType)
expressionType
- Type of expression for check.
protected static boolean isMathExpression(short expressionType)
expressionType
- Type of expression for check.
protected static boolean isLiteralExpression(short expressionType)
expressionType
- Type of expression for check.
protected static boolean isGeometryExpression(short expressionType)
expressionType
- Type of expression for check.
protected static boolean isExpression(short expressionType)
expressionType
- Type of expression for check.
protected static boolean isFunctionExpression(short expressionType)
expressionType
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |