Package org.geotools.filter.visitor
Class PropertyNameResolvingVisitor
- Object
-
- DuplicatingFilterVisitor
-
- PropertyNameResolvingVisitor
-
- All Implemented Interfaces:
ExpressionVisitor
,FilterVisitor
public class PropertyNameResolvingVisitor extends DuplicatingFilterVisitor
Resolves all property name references in a filter against a particular feature type.This visitor is used to handle property accesses such as "gml:name", "//foo" etc.. Each such reference is resolved against the feature type and replaced with the actual name of the attribute, ie "gml:name" => "name", "//foo" => "foo".
- Since:
- 2.6
- Author:
- Justin Deoliveira, OpenGEO
-
-
Field Summary
-
Fields inherited from class DuplicatingFilterVisitor
ff
-
-
Constructor Summary
Constructors Constructor Description PropertyNameResolvingVisitor(SimpleFeatureType featureType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
visit(PropertyName expression, Object extraData)
-
Methods inherited from class DuplicatingFilterVisitor
getFactory, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitNullFilter
-
-
-
-
Constructor Detail
-
PropertyNameResolvingVisitor
public PropertyNameResolvingVisitor(SimpleFeatureType featureType)
-
-
Method Detail
-
visit
public Object visit(PropertyName expression, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classDuplicatingFilterVisitor
-
-