|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines an expression that holds a literal for return.
Field Summary |
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 |
Method Summary | |
java.lang.Object |
getLiteral()
Retrieves the literal of this expression. |
short |
getType()
Returns the literal type. |
java.lang.Object |
getValue(Feature feature)
Gets the value of this literal. |
void |
setLiteral(java.lang.Object literal)
Sets the literal. |
Methods inherited from interface org.geotools.filter.Expression |
accept |
Method Detail |
public void setLiteral(java.lang.Object literal) throws IllegalFilterException
literal
- The literal to store inside this expression.
IllegalFilterException
- This literal type is not in scope.public java.lang.Object getValue(Feature feature)
getValue
in interface Expression
feature
- Required by the interface but not used.
public short getType()
getType
in interface Expression
public java.lang.Object getLiteral()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |