org.geotools.feature.visitor
Class IdCollectorFilterVisitor

Object
  extended by DefaultFilterVisitor
      extended by 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
static IdCollectorFilterVisitor ID_COLLECTOR
           
static IdCollectorFilterVisitor IDENTIFIER_COLLECTOR
           
 
Constructor Summary
protected IdCollectorFilterVisitor()
          Deprecated. use IdCollectorFilterVisitor(boolean)
protected IdCollectorFilterVisitor(boolean collectStringIds)
           
 
Method Summary
 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, visitNullFilter
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID_COLLECTOR

public static final IdCollectorFilterVisitor ID_COLLECTOR

IDENTIFIER_COLLECTOR

public static final IdCollectorFilterVisitor IDENTIFIER_COLLECTOR
Constructor Detail

IdCollectorFilterVisitor

protected IdCollectorFilterVisitor()
Deprecated. use IdCollectorFilterVisitor(boolean)


IdCollectorFilterVisitor

protected IdCollectorFilterVisitor(boolean collectStringIds)
Method Detail

visit

public Object visit(Id filter,
                    Object data)
Specified by:
visit in interface FilterVisitor
Overrides:
visit in class DefaultFilterVisitor


Copyright © 1996-2014 Geotools. All Rights Reserved.