Package org.geotools.filter
Class NotImpl
-
- All Implemented Interfaces:
Filter
,Not
,FilterType
public class NotImpl extends LogicFilterImpl implements Not
- Author:
- jdeolive
-
-
Field Summary
-
Fields inherited from class BinaryLogicAbstract
children
-
Fields inherited from class AbstractFilter
LOGGER
-
Fields inherited from interface FilterType
ALL, BETWEEN, COMPARE_EQUALS, COMPARE_GREATER_THAN, COMPARE_GREATER_THAN_EQUAL, COMPARE_LESS_THAN, COMPARE_LESS_THAN_EQUAL, COMPARE_NOT_EQUALS, FID, GEOMETRY_BBOX, GEOMETRY_BEYOND, GEOMETRY_CONTAINS, GEOMETRY_CROSSES, GEOMETRY_DISJOINT, GEOMETRY_DWITHIN, GEOMETRY_EQUALS, GEOMETRY_INTERSECTS, GEOMETRY_OVERLAPS, GEOMETRY_TOUCHES, GEOMETRY_WITHIN, LIKE, LOGIC_AND, LOGIC_NOT, LOGIC_OR, NONE, NULL
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
accept(FilterVisitor visitor, Object extraData)
Used by FilterVisitors to perform some action on this filter instance.boolean
evaluate(Object feature)
Give an object, this method determines if the test(s) represented by this filter object are passed.Filter
getFilter()
The filter to reverse.void
setFilter(Filter filter)
-
Methods inherited from class LogicFilterImpl
addFilter, equals, getFilterIterator, hashCode, toString
-
Methods inherited from class BinaryLogicAbstract
getChildren, setChildren
-
Methods inherited from class AbstractFilter
isCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilter
-
Methods inherited from class FilterAbstract
accepts, eval, eval
-
-
-
-
Constructor Detail
-
NotImpl
protected NotImpl(Filter filter)
-
-
Method Detail
-
setFilter
public void setFilter(Filter filter)
-
evaluate
public boolean evaluate(Object feature)
Description copied from interface:Filter
Give an object, this method determines if the test(s) represented by this filter object are passed.This ability is used to allow Queries against both Features and and non spatial data (such as Record) and to express constraints on permissable data values.
-
accept
public Object accept(FilterVisitor visitor, Object extraData)
Description copied from class:LogicFilterImpl
Used by FilterVisitors to perform some action on this filter instance. Typicaly used by Filter decoders, but may also be used by any thing which needs infomration from filter structure. Implementations should always call: visitor.visit(this); It is importatant that this is not left to a parent class unless the parents API is identical.- Specified by:
accept
in interfaceFilter
- Specified by:
accept
in classLogicFilterImpl
- Parameters:
visitor
- The visitor which requires access to this filter, the method must call visitor.visit(this);
-
-