|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Field Summary |
Fields inherited from interface org.geotools.filter.ExpressionType |
ATTRIBUTE, ATTRIBUTE_DOUBLE, ATTRIBUTE_GEOMETRY, ATTRIBUTE_INTEGER, ATTRIBUTE_STRING, ATTRIBUTE_UNDECLARED, FUNCTION, LITERAL_DOUBLE, LITERAL_GEOMETRY, LITERAL_INTEGER, LITERAL_STRING, MATH_ADD, MATH_DIVIDE, MATH_MULTIPLY, MATH_SUBTRACT |
Method Summary | |
java.lang.String |
getAttributePath()
Gets the attribute path of this expression. |
java.lang.Object |
getValue(Feature feature)
Gets the attribute value at the path held by this expression from the feature. |
void |
setAttributePath(java.lang.String attributePath)
Sets the path of the attribute of this expression. |
Methods inherited from interface org.geotools.filter.Expression |
accept, getType |
Method Detail |
public void setAttributePath(java.lang.String attributePath) throws IllegalFilterException
attributePath
- A string of the path.
IllegalFilterException
- if the path is not valid.public java.lang.Object getValue(Feature feature)
getValue
in interface Expression
feature
- the feature to get this attribute from.
public java.lang.String getAttributePath()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |