org.geotools.filter.visitor
Class OperatorNameFilterVisitor

Object
  extended by OperatorNameFilterVisitor
All Implemented Interfaces:
FilterVisitor

public class OperatorNameFilterVisitor
extends Object
implements FilterVisitor

A FilterVisitor responsible for providing the capabilities name used to identify the provided filter.

These names will match those used by FilterCapabilities Operations and may be used to verify that the provided filter is supported.

Author:
Jody Garnett

Constructor Summary
OperatorNameFilterVisitor()
           
 
Method Summary
 Object visit(After after, Object extraData)
           
 Object visit(And filter, Object extraData)
           
 Object visit(AnyInteracts anyInteracts, Object extraData)
           
 Object visit(BBOX filter, Object extraData)
           
 Object visit(Before before, Object extraData)
           
 Object visit(Begins begins, Object extraData)
           
 Object visit(BegunBy begunBy, Object extraData)
           
 Object visit(Beyond filter, Object extraData)
           
 Object visit(Contains filter, Object extraData)
           
 Object visit(Crosses filter, Object extraData)
           
 Object visit(Disjoint filter, Object extraData)
           
 Object visit(During during, Object extraData)
           
 Object visit(DWithin filter, Object extraData)
           
 Object visit(EndedBy endedBy, Object extraData)
           
 Object visit(Ends ends, Object extraData)
           
 Object visit(Equals filter, Object extraData)
           
 Object visit(ExcludeFilter filter, Object extraData)
          Visit Filter.EXCLUDE (often used during data structure transformations).
 Object visit(Id filter, Object extraData)
           
 Object visit(IncludeFilter filter, Object extraData)
          Visit Filter.INCLUDE (often used during data structure transformations).
 Object visit(Intersects filter, Object extraData)
           
 Object visit(Meets meets, Object extraData)
           
 Object visit(MetBy metBy, Object extraData)
           
 Object visit(Not filter, Object extraData)
           
 Object visit(Or filter, Object extraData)
           
 Object visit(OverlappedBy overlappedBy, Object extraData)
           
 Object visit(Overlaps filter, Object extraData)
           
 Object visit(PropertyIsBetween filter, Object extraData)
           
 Object visit(PropertyIsEqualTo filter, Object extraData)
           
 Object visit(PropertyIsGreaterThan filter, Object extraData)
           
 Object visit(PropertyIsGreaterThanOrEqualTo filter, Object extraData)
           
 Object visit(PropertyIsLessThan filter, Object extraData)
           
 Object visit(PropertyIsLessThanOrEqualTo filter, Object extraData)
           
 Object visit(PropertyIsLike filter, Object extraData)
           
 Object visit(PropertyIsNil filter, Object extraData)
           
 Object visit(PropertyIsNotEqualTo filter, Object extraData)
           
 Object visit(PropertyIsNull filter, Object extraData)
           
 Object visit(TContains contains, Object extraData)
           
 Object visit(TEquals equals, Object extraData)
           
 Object visit(Touches filter, Object extraData)
           
 Object visit(TOverlaps contains, Object extraData)
           
 Object visit(Within filter, Object extraData)
           
 Object visitNullFilter(Object extraData)
          Used to account for a null filter value.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorNameFilterVisitor

public OperatorNameFilterVisitor()
Method Detail

visit

public Object visit(ExcludeFilter filter,
                    Object extraData)
Description copied from interface: FilterVisitor
Visit Filter.EXCLUDE (often used during data structure transformations).

Specified by:
visit in interface FilterVisitor
Parameters:
filter - Filter.EXCLUDE.
extraData - Value object provided to visitor
Returns:
subclass supplied

visit

public Object visit(IncludeFilter filter,
                    Object extraData)
Description copied from interface: FilterVisitor
Visit Filter.INCLUDE (often used during data structure transformations).

Specified by:
visit in interface FilterVisitor
Parameters:
filter - Filter.INCLUDE.
extraData - Value object provided to visitor
Returns:
subclass supplied

visit

public Object visit(And filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Id filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Not filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Or filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(PropertyIsBetween filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(PropertyIsEqualTo filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(PropertyIsNotEqualTo filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(PropertyIsGreaterThan filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(PropertyIsGreaterThanOrEqualTo filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(PropertyIsLessThan filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(PropertyIsLessThanOrEqualTo filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(PropertyIsLike filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(PropertyIsNull filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(PropertyIsNil filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(BBOX filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Beyond filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Contains filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Crosses filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Disjoint filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(DWithin filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Equals filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Intersects filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Overlaps filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Touches filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Within filter,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visitNullFilter

public Object visitNullFilter(Object extraData)
Description copied from interface: FilterVisitor
Used to account for a null filter value.

This is particularly used during data structure transofrmations, however the use of null is not recommended. Please make use of Filter.NONE and Filter.ALL as placeholder objects that communicate intent.

Specified by:
visitNullFilter in interface FilterVisitor
Parameters:
extraData - Value object provided to visitor
Returns:
subclass defined

visit

public Object visit(After after,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(AnyInteracts anyInteracts,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Before before,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Begins begins,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(BegunBy begunBy,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(During during,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(EndedBy endedBy,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Ends ends,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(Meets meets,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(MetBy metBy,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(OverlappedBy overlappedBy,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(TContains contains,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(TEquals equals,
                    Object extraData)
Specified by:
visit in interface FilterVisitor

visit

public Object visit(TOverlaps contains,
                    Object extraData)
Specified by:
visit in interface FilterVisitor


Copyright © 1996-2014 Geotools. All Rights Reserved.