| java.lang.Object org.geotools.filter.FilterAbstract org.geotools.filter.AbstractFilter
All known Subclasses: org.geotools.filter.AbstractFilterImpl, org.geotools.filter.BinaryComparisonAbstract, org.geotools.filter.BinaryLogicAbstract,
AbstractFilter | abstract public class AbstractFilter extends FilterAbstract implements Filter(Code) | | Implements Filter interface, with constants and default behaviors for
methods.
author: Rob Hranac, Vision for New York version: $Id: AbstractFilter.java 27862 2007-11-12 19:51:19Z desruisseaux $ |
Field Summary | |
final protected static Logger | LOGGER The logger for the default core module. | protected short | filterType Defines filter type (all valid types defined below). | protected boolean | permissiveConstruction Sets the permissiveness of the filter construction handling. |
Constructor Summary | |
protected | AbstractFilter(org.opengis.filter.FilterFactory factory) |
Method Summary | |
final public void | accept(FilterVisitor visitor) 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. | final public boolean | contains(Feature feature) Implements a 'contained by' check for a given feature, defaulting to
true.
This calls through to
AbstractFilter.evaluate(Feature) .
Parameters: feature - Specified feature to examine. | public short | getFilterType() Retrieves the type of filter. | protected static boolean | isCompareFilter(short filterType) Checks to see if passed type is compare.
Parameters: filterType - Type of filter for check. | protected static boolean | isGeometryDistanceFilter(short filterType) Checks to see if passed type is geometry distance type.
Parameters: filterType - Type of filter for check. | protected static boolean | isGeometryFilter(short filterType) Checks to see if passed type is geometry.
Parameters: filterType - Type of filter for check. | protected static boolean | isLogicFilter(short filterType) Checks to see if passed type is logic.
Parameters: filterType - Type of filter for check. | protected static boolean | isMathFilter(short filterType) Checks to see if passed type is math.
Parameters: filterType - Type of filter for check. | protected static boolean | isSimpleFilter(short filterType) Checks to see if passed type is logic.
Parameters: filterType - Type of filter for check. |
LOGGER | final protected static Logger LOGGER(Code) | | The logger for the default core module.
|
filterType | protected short filterType(Code) | | Defines filter type (all valid types defined below).
|
permissiveConstruction | protected boolean permissiveConstruction(Code) | | Sets the permissiveness of the filter construction handling.
|
AbstractFilter | protected AbstractFilter(org.opengis.filter.FilterFactory factory)(Code) | | Parameters: factory - |
accept | final public void accept(FilterVisitor visitor)(Code) | | 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.
Parameters: visitor - The visitor which requires access to this filter, themethod must call visitor.visit(this);org.opengis.filter.Filter.accept(FilterVisitorObject) |
getFilterType | public short getFilterType()(Code) | | Retrieves the type of filter.
a short representation of the filter type. |
isCompareFilter | protected static boolean isCompareFilter(short filterType)(Code) | | Checks to see if passed type is compare.
Parameters: filterType - Type of filter for check. Whether or not this is a compare filter type. |
isGeometryDistanceFilter | protected static boolean isGeometryDistanceFilter(short filterType)(Code) | | Checks to see if passed type is geometry distance type.
Parameters: filterType - Type of filter for check. Whether or not this is a geometry filter type. |
isGeometryFilter | protected static boolean isGeometryFilter(short filterType)(Code) | | Checks to see if passed type is geometry.
Parameters: filterType - Type of filter for check. Whether or not this is a geometry filter type. |
isLogicFilter | protected static boolean isLogicFilter(short filterType)(Code) | | Checks to see if passed type is logic.
Parameters: filterType - Type of filter for check. Whether or not this is a logic filter type. |
isMathFilter | protected static boolean isMathFilter(short filterType)(Code) | | Checks to see if passed type is math.
Parameters: filterType - Type of filter for check. Whether or not this is a math filter type. |
isSimpleFilter | protected static boolean isSimpleFilter(short filterType)(Code) | | Checks to see if passed type is logic.
Parameters: filterType - Type of filter for check. Whether or not this is a logic filter type. |
Fields inherited from org.geotools.filter.FilterAbstract | protected org.opengis.filter.FilterFactory factory(Code)(Java Doc)
|
|
|