Package org.geotools.appschema.filter
Class NestedAttributeExpression
- Object
- 
- ExpressionAbstract
- 
- DefaultExpression
- 
- AttributeExpressionImpl
- 
- NestedAttributeExpression
 
 
 
 
- 
- All Implemented Interfaces:
- Expression,- PropertyName
 
 public class NestedAttributeExpression extends AttributeExpressionImpl This class represents a list of expressions broken up from a single XPath expression that is nested in more than one feature. The purpose is to allow filtering these attributes on the parent feature.- Author:
- Rini Angreani (CSIRO Earth Science and Resource Engineering)
 
- 
- 
Field Summary- 
Fields inherited from class AttributeExpressionImplattPath, lenient, namespaceSupport, schema
 - 
Fields inherited from interface ExpressionNIL
 
- 
 - 
Constructor SummaryConstructors Constructor Description NestedAttributeExpression(XPathUtil.StepList xpath, NestedAttributeMapping nestedMapping)First constructor
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(ExpressionVisitor visitor, Object extraData)Used by FilterVisitors to perform some action on this filter instance.Objectevaluate(Object object)- 
Methods inherited from class AttributeExpressionImplequals, evaluate, getNamespaceContext, getPropertyName, hashCode, isLenient, setLenient, setPropertyName, toString
 - 
Methods inherited from class DefaultExpressionisAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpression
 
- 
 
- 
- 
- 
Constructor Detail- 
NestedAttributeExpressionpublic NestedAttributeExpression(XPathUtil.StepList xpath, NestedAttributeMapping nestedMapping) First constructor- Parameters:
- xpath- Attribute XPath
 
 
- 
 - 
Method Detail- 
evaluatepublic Object evaluate(Object object) - Specified by:
- evaluatein interface- Expression
- Overrides:
- evaluatein class- AttributeExpressionImpl
- Parameters:
- object- Object from which we need to extract a property value.
- Returns:
- default implementation returns null
 
 - 
acceptpublic Object accept(ExpressionVisitor visitor, Object extraData) Description copied from class:AttributeExpressionImplUsed by FilterVisitors to perform some action on this filter instance. Typicaly used by Filter decoders, but may also be used by any thing which needs infomration from filter structure. Implementations should always call: visitor.visit(this); It is importatant that this is not left to a parent class unless the parents API is identical.- Specified by:
- acceptin interface- Expression
- Overrides:
- acceptin class- AttributeExpressionImpl
- Parameters:
- visitor- The visitor which requires access to this filter, the method must call visitor.visit(this);
 
 
- 
 
-