Package org.geotools.feature.visitor
Class IdCollectorFilterVisitor
- Object
-
- DefaultFilterVisitor
-
- IdCollectorFilterVisitor
-
- All Implemented Interfaces:
ExpressionVisitor
,FilterVisitor
public class IdCollectorFilterVisitor extends DefaultFilterVisitor
Gather up all FeatureId strings into a provided HashSet.Example:
Set
fids = (Set ) filter.accept( IdCollectorFilterVisitor.ID_COLLECTOR, new HashSet() );
-
-
Field Summary
Fields Modifier and Type Field Description static IdCollectorFilterVisitor
ID_COLLECTOR
static IdCollectorFilterVisitor
IDENTIFIER_COLLECTOR
-
Constructor Summary
Constructors Modifier Constructor Description protected
IdCollectorFilterVisitor(boolean collectStringIds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
visit(Id filter, Object data)
-
Methods inherited from class DefaultFilterVisitor
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
-
-
-
-
Field Detail
-
ID_COLLECTOR
public static final IdCollectorFilterVisitor ID_COLLECTOR
-
IDENTIFIER_COLLECTOR
public static final IdCollectorFilterVisitor IDENTIFIER_COLLECTOR
-
-
Method Detail
-
visit
public Object visit(Id filter, Object data)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classDefaultFilterVisitor
-
-