|
||||||||||
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 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 Expression |
---|
NIL |
Fields inherited from interface Expression |
---|
NIL |
Method Summary | |
---|---|
Object |
getLiteral()
Deprecated. use Literal.getValue() . |
short |
getType()
Deprecated. Returns the literal type. |
Object |
getValue(SimpleFeature feature)
Deprecated. use Expression#evaluate(Feature) . |
void |
setLiteral(Object literal)
Deprecated. use Literal#setValue(Object) |
Methods inherited from interface Expression |
---|
accept, evaluate |
Methods inherited from interface Expression |
---|
accept, evaluate, evaluate |
Methods inherited from interface Literal |
---|
getValue |
Methods inherited from interface Expression |
---|
accept, evaluate, evaluate |
Method Detail |
---|
void setLiteral(Object literal) throws IllegalFilterException
Literal#setValue(Object)
literal
- The literal to store inside this expression.
IllegalFilterException
- This literal type is not in scope.Object getValue(SimpleFeature feature)
Expression#evaluate(Feature)
.
feature
- Required by the interface but not used.
short getType()
Object getLiteral()
Literal.getValue()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |