|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.filter.expression.Literal<T>
T - besides primitive types, this may also be GenericCustomPropertyValuepublic class Literal<T>
Expression that has a constant value.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.deegree.filter.Expression |
|---|
Expression.Type |
| Constructor Summary | |
|---|---|
Literal(T value)
Creates a new Literal instance. |
|
| Method Summary | |
|---|---|
Object[] |
evaluate(MatchableObject obj)
Returns the Literal's value (to be used in the evaluation of a complexer Expression). |
Expression[] |
getParams()
Returns the expression's paramters. |
Expression.Type |
getType()
Returns the type of expression. |
T |
getValue()
Returns the literal's value. |
String |
toString(String indent)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Literal(T value)
Literal instance.
value - value of the literal| Method Detail |
|---|
public T getValue()
public Expression.Type getType()
ExpressionExpression.
getType in interface Expressionpublic Object[] evaluate(MatchableObject obj)
Literal's value (to be used in the evaluation of a complexer Expression).
evaluate in interface Expressionobj - object that the expression is evaluated upon
null values), but never
nullpublic String toString(String indent)
toString in interface Expressionpublic Expression[] getParams()
Expression
getParams in interface Expression
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||