| org.geotools.filter.AttributeExpression
All known Subclasses: org.geotools.filter.AttributeExpressionImpl2, org.geotools.filter.AttributeExpressionImpl,
AttributeExpression | public interface AttributeExpression extends Expression,PropertyName(Code) | | The geotools representation of the PropertyName tag in an xml encoded
filter.
It should handle xpath attributePaths of features, and should
report the attribute found at the attributePath of a feature.
version: $Id: AttributeExpression.java 22294 2006-10-20 00:55:40Z desruisseaux $org.opengis.filter.expression.PropertyName |
Method Summary | |
String | getAttributePath() Gets the attribute path of this expression. | Object | getValue(Feature feature) Gets the attribute value at the path held by this expression from the
feature.
Parameters: feature - the feature to get this attribute from. | void | setAttributePath(String attributePath) Sets the path of the attribute of this expression. |
getAttributePath | String getAttributePath()(Code) | | Gets the attribute path of this expression.
the attribute to be queried.PropertyName.getPropertyName |
getValue | Object getValue(Feature feature)(Code) | | Gets the attribute value at the path held by this expression from the
feature.
Parameters: feature - the feature to get this attribute from. the value of the attribute found by this expression. org.opengis.filter.expression.Expression#evaluate(Feature)() |
setAttributePath | void setAttributePath(String attributePath) throws IllegalFilterException(Code) | | Sets the path of the attribute of this expression. For simple,
non-nested, features the 'path' is simply the name of an attribute.
Parameters: attributePath - A string of the path. throws: IllegalFilterException - if the path is not valid.PropertyName.setPropertyName(String) |
|
|