|
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 | |||||||||
public interface Expression
An Expression describes a rule to obtain a value that may be derived from the properties of a
MatchableObject.
Note that the objects returned by evaluate(MatchableObject) is an Object[], as an expression
may evaluate to multiple values, e.g. a PropertyName that targets a multi property of a feature. The values
in the array always have one of the following classes:
null.
| Nested Class Summary | |
|---|---|
static class |
Expression.Type
Convenience enum type for discriminating the different expression types. |
| Method Summary | |
|---|---|
Object[] |
evaluate(MatchableObject obj)
Determines the values of the expression for the given MatchableObject. |
Expression[] |
getParams()
Returns the expression's paramters. |
Expression.Type |
getType()
Returns the type of expression. |
String |
toString(String indent)
|
| Method Detail |
|---|
Expression.Type getType()
Expression.
Object[] evaluate(MatchableObject obj)
throws FilterEvaluationException
MatchableObject.
Note that this returns an Object[], as an expression may evaluate to multiple values, e.g. a
PropertyName that targets a multi property of a feature.
obj - object that the expression is evaluated upon
null values), but never
null
FilterEvaluationExceptionExpression[] getParams()
String toString(String indent)
|
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 | |||||||||