|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Literal
public interface LiteralExpression
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_LONG, LITERAL_STRING, LITERAL_UNDECLARED, MATH_ADD, MATH_DIVIDE, MATH_MULTIPLY, MATH_SUBTRACT |
Fields inherited from interface org.opengis.filter.expression.Expression |
---|
NIL |
Method Summary | |
---|---|
java.lang.Object |
getLiteral()
Deprecated. use Literal.getValue() . |
short |
getType()
Deprecated. Returns the literal type. |
java.lang.Object |
getValue(org.opengis.feature.simple.SimpleFeature 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 |
---|
accept, evaluate |
Methods inherited from interface org.opengis.filter.expression.Literal |
---|
getValue |
Methods inherited from interface org.opengis.filter.expression.Expression |
---|
accept, evaluate, evaluate |
Method Detail |
---|
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.java.lang.Object getValue(org.opengis.feature.simple.SimpleFeature feature)
Expression#evaluate(Feature)
.
feature
- Required by the interface but not used.
short getType()
java.lang.Object getLiteral()
Literal.getValue()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |