org.geotools.filter
Class NestedAttributeExpression
Object
ExpressionAbstract
DefaultExpression
AttributeExpressionImpl
NestedAttributeExpression
- All Implemented Interfaces:
- AttributeExpression, ExpressionType, 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)
Fields inherited from interface ExpressionType |
ATTRIBUTE, ATTRIBUTE_DOUBLE, ATTRIBUTE_GEOMETRY, ATTRIBUTE_INTEGER, ATTRIBUTE_STRING, ATTRIBUTE_UNDECLARED, FUNCTION, LITERAL_DOUBLE, LITERAL_GEOMETRY, LITERAL_INTEGER, LITERAL_LONG, LITERAL_STRING, LITERAL_UNDECLARED, MATH_ADD, MATH_DIVIDE, MATH_MULTIPLY, MATH_SUBTRACT |
Methods inherited from class AttributeExpressionImpl |
accept, equals, evaluate, evaluate, getAttributePath, getNamespaceContext, getPropertyName, hashCode, isLenient, setAttributePath, setLenient, setPropertyName, toString |
NestedAttributeExpression
public NestedAttributeExpression(XPathUtil.StepList xpath,
NestedAttributeMapping nestedMapping)
- First constructor
- Parameters:
xpath
- Attribute XPathexpressions
- List of broken up expressions
evaluate
public Object evaluate(Object object)
- see
AttributeExpressionImpl.evaluate(Object)
- Specified by:
evaluate
in interface Expression
- Overrides:
evaluate
in class AttributeExpressionImpl
- Parameters:
object
- Object from which we need to extract a property value.
Copyright © 1996-2014 Geotools. All Rights Reserved.