|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.filter.AbstractFilter
Implements Filter interface, with constants and default behaviors for methods.
Field Summary | |
protected short |
filterType
Defines filter type (all valid types defined below). |
protected static java.util.logging.Logger |
LOGGER
The logger for the default core module. |
protected boolean |
permissiveConstruction
Sets the permissiveness of the filter construction handling. |
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 |
Constructor Summary | |
AbstractFilter()
|
Method Summary | |
abstract void |
accept(FilterVisitor visitor)
Used by FilterVisitors to perform some action on this filter instance. |
abstract boolean |
contains(Feature feature)
Implements a 'contained by' check for a given feature, defaulting to true. |
short |
getFilterType()
Retrieves the type of filter. |
protected static boolean |
isCompareFilter(short filterType)
Checks to see if passed type is compare. |
protected static boolean |
isGeometryDistanceFilter(short filterType)
Checks to see if passed type is geometry distance type. |
protected static boolean |
isGeometryFilter(short filterType)
Checks to see if passed type is geometry. |
protected static boolean |
isLogicFilter(short filterType)
Checks to see if passed type is logic. |
protected static boolean |
isMathFilter(short filterType)
Checks to see if passed type is math. |
protected static boolean |
isSimpleFilter(short filterType)
Checks to see if passed type is logic. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.geotools.filter.Filter |
and, not, or |
Field Detail |
protected static final java.util.logging.Logger LOGGER
protected short filterType
protected boolean permissiveConstruction
Constructor Detail |
public AbstractFilter()
Method Detail |
public abstract boolean contains(Feature feature)
contains
in interface Filter
feature
- Specified feature to examine.
protected static boolean isLogicFilter(short filterType)
filterType
- Type of filter for check.
protected static boolean isMathFilter(short filterType)
filterType
- Type of filter for check.
protected static boolean isCompareFilter(short filterType)
filterType
- Type of filter for check.
protected static boolean isGeometryFilter(short filterType)
filterType
- Type of filter for check.
protected static boolean isGeometryDistanceFilter(short filterType)
filterType
- Type of filter for check.
protected static boolean isSimpleFilter(short filterType)
filterType
- Type of filter for check.
public short getFilterType()
getFilterType
in interface Filter
public abstract void accept(FilterVisitor visitor)
accept
in interface Filter
visitor
- The visitor which requires access to this filter, the
method must call visitor.visit(this);
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |