|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines a logic filter (the only filter type that contains other filters). This filter holds one or more filters together and relates them logically with an internally defined type (AND, OR, NOT).
Field Summary |
Fields inherited from interface org.geotools.filter.Filter |
ALL, NONE |
Fields inherited from interface org.geotools.filter.FilterType |
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, NULL |
Method Summary | |
void |
addFilter(Filter filter)
Adds a sub filter to this filter. |
Filter |
and(Filter filter)
Implements a logical AND with this filter and returns the merged filter. |
boolean |
contains(Feature feature)
Determines whether the feature matches the appropriate logic relationships. |
java.util.Iterator |
getFilterIterator()
Gets an iterator for the filters held by this logic filter. |
Filter |
not()
Implements a logical NOT with this filter and returns the merged filter. |
Filter |
or(Filter filter)
Implements a logical OR with this filter and returns the merged filter. |
Methods inherited from interface org.geotools.filter.Filter |
accept, getFilterType |
Method Detail |
public boolean contains(Feature feature)
contains
in interface Filter
feature
- Specified feature to examine.
public Filter not()
not
in interface Filter
public Filter and(Filter filter)
and
in interface Filter
filter
- Parent of the filter: must implement GMLHandlerGeometry.
public java.util.Iterator getFilterIterator()
public Filter or(Filter filter)
or
in interface Filter
filter
- Parent of the filter: must implement GMLHandlerGeometry.
public void addFilter(Filter filter) throws IllegalFilterException
filter
- Specified filter to add to the sub filter list.
IllegalFilterException
- Does not conform to logic filter
structure
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |