Package org.geotools.filter.expression
Class ExpressionAbstract
Object
ExpressionAbstract
- All Implemented Interfaces:
Expression
- Direct Known Subclasses:
DefaultExpression
,FunctionImpl
Abstract superclass of these Expression implementations.
- Author:
- Jody Garnett
-
Constructor Details
-
ExpressionAbstract
public ExpressionAbstract()
-
-
Method Details
-
evaluate
Subclass should override, default implementation returns null.- Specified by:
evaluate
in interfaceExpression
- Returns:
- default implementation returns null
-
evaluate
Default implementation delegates handling of context conversion to Converters utility class.Subclasses are expected to make use of the Converters utility class (as the easiest way to provide value morphing in conformance with the Filter specification).
- Specified by:
evaluate
in interfaceExpression
- Type Parameters:
T
- The type of the returned object.- Parameters:
object
- The object to evaluate the expression against.context
- The type of the resulting value of the expression.- Returns:
- Evaluates the given expression based on the content of the given object an an instance of
context
.
-