Package org.geotools.filter.visitor
Class SpatialFilterVisitor
- Object
-
- DefaultFilterVisitor
-
- SpatialFilterVisitor
-
- All Implemented Interfaces:
ExpressionVisitor
,FilterVisitor
public class SpatialFilterVisitor extends DefaultFilterVisitor
Filter that can be applied to determine if a Filter contains any spatial filter- Since:
- 2.7.5
- Author:
- Andrea Aime - GeoSolutions
-
-
Constructor Summary
Constructors Constructor Description SpatialFilterVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasSpatialFilter()
True if the filter had a spatial filter, false otherwisevoid
reset()
Resets this visitor so that it can be reused on another filterObject
visit(BBOX filter, Object data)
Object
visit(Beyond filter, Object data)
Object
visit(Contains filter, Object data)
Object
visit(Crosses filter, Object data)
Object
visit(Disjoint filter, Object data)
Object
visit(DWithin filter, Object data)
Object
visit(Equals filter, Object data)
Object
visit(Intersects filter, Object data)
Object
visit(Overlaps filter, Object data)
Object
visit(Touches filter, Object data)
Object
visit(Within 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, visitNullFilter
-
-
-
-
Method Detail
-
hasSpatialFilter
public boolean hasSpatialFilter()
True if the filter had a spatial filter, false otherwise
-
reset
public void reset()
Resets this visitor so that it can be reused on another filter
-
visit
public Object visit(BBOX filter, Object data)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classDefaultFilterVisitor
-
visit
public Object visit(Beyond filter, Object data)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classDefaultFilterVisitor
-
visit
public Object visit(Contains filter, Object data)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classDefaultFilterVisitor
-
visit
public Object visit(Crosses filter, Object data)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classDefaultFilterVisitor
-
visit
public Object visit(Disjoint filter, Object data)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classDefaultFilterVisitor
-
visit
public Object visit(DWithin filter, Object data)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classDefaultFilterVisitor
-
visit
public Object visit(Equals filter, Object data)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classDefaultFilterVisitor
-
visit
public Object visit(Intersects filter, Object data)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classDefaultFilterVisitor
-
visit
public Object visit(Overlaps filter, Object data)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classDefaultFilterVisitor
-
visit
public Object visit(Touches filter, Object data)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classDefaultFilterVisitor
-
visit
public Object visit(Within filter, Object data)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classDefaultFilterVisitor
-
-