public abstract class ExpressionAbstract extends Object implements Expression
NIL| Constructor and Description |
|---|
ExpressionAbstract() |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(Object object)
Subclass should override, default implementation returns null.
|
<T> T |
evaluate(Object object,
Class<T> context)
Default implementation delegates handling of context conversion to Converters utility class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptpublic Object evaluate(Object object)
evaluate in interface Expressionpublic <T> T evaluate(Object object, Class<T> context)
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).
evaluate in interface ExpressionT - The type of the returned object.object - The object to evaluate the expression against.context - The type of the resulting value of the expression.context.Copyright © 1996–2021 Geotools. All rights reserved.