org.geotools.filter
Class NestedAttributeExpression

Object
  extended by ExpressionAbstract
      extended by DefaultExpression
          extended by AttributeExpressionImpl
              extended by 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)

Field Summary
 
Fields inherited from class AttributeExpressionImpl
attPath, lenient, schema
 
Fields inherited from class DefaultExpression
expressionType, permissiveConstruction
 
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
 
Fields inherited from interface Expression
NIL
 
Constructor Summary
NestedAttributeExpression(XPathUtil.StepList xpath, NestedAttributeMapping nestedMapping)
          First constructor
 
Method Summary
 Object evaluate(Object object)
          see AttributeExpressionImpl.evaluate(Object)
 
Methods inherited from class AttributeExpressionImpl
accept, equals, evaluate, evaluate, getAttributePath, getNamespaceContext, getPropertyName, hashCode, isLenient, setAttributePath, setLenient, setPropertyName, toString
 
Methods inherited from class DefaultExpression
accept, getType, getValue, isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpression, isMathExpression
 
Methods inherited from class ExpressionAbstract
eval, eval
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface AttributeExpression
getValue
 
Methods inherited from interface Expression
accept, getType
 

Constructor Detail

NestedAttributeExpression

public NestedAttributeExpression(XPathUtil.StepList xpath,
                                 NestedAttributeMapping nestedMapping)
First constructor

Parameters:
xpath - Attribute XPath
expressions - List of broken up expressions
Method Detail

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.