|
|||||||||||
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.expression.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()
Deprecated. use Literal.getValue() . |
short |
getType()
Returns the literal type. |
java.lang.Object |
getValue(Feature feature)
Deprecated. use Expression.evaluate(Feature) . |
void |
setLiteral(java.lang.Object literal)
Deprecated. use Literal.setValue(Object) |
Methods inherited from interface org.geotools.filter.expression.Expression |
accept, evaluate |
Methods inherited from interface org.opengis.filter.expression.Expression |
accept, evaluate |
Methods inherited from interface org.opengis.filter.expression.Literal |
getValue, setValue |
Method Detail |
public void setLiteral(java.lang.Object literal) throws IllegalFilterException
Literal.setValue(Object)
literal
- The literal to store inside this expression.
IllegalFilterException
- This literal type is not in scope.public java.lang.Object getValue(Feature feature)
Expression.evaluate(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()
Literal.getValue()
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |