public abstract class ExpressionAbstract extends Object implements Expression
Contains additional support for "Expression chaining". This allows Expressions to be constructed as a chain of Java commands similar to the use of the java collections api.
Note: Expression chaining is a simple developer convience, it has no effect on the data model exposed by the GeoAPI interfaces.
Idea: We may also be able to teach this implementation to make use of JXPath to extract "attribute values" from Java Beans, DOM, JDOM in addition to the geotools & geoapi FeatureType models. It is a cunning plan - any implementation will make use of this abstract base class.
|Constructor and Description|
|Modifier and Type||Method and Description|
Subclass should override, default implementation returns null.
Default implementation delegates handling of context conversion to Value utility class.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Subclasses are expected to make use of the Value utility class (as the easiest way to provide value morphing in confirmance with the Filter specification).
T- The type of the returned object.
object- The object to evaluate the expression against.
context- The type of the resulting value of the expression.
Copyright © 1996–2017 Geotools. All rights reserved.