|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectFilterAbstract
AbstractFilter
public abstract class 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 Logger |
LOGGER
The logger for the default core module. |
protected boolean |
permissiveConstruction
Sets the permissiveness of the filter construction handling. |
| Fields inherited from class FilterAbstract |
|---|
factory |
| Fields inherited from interface Filter |
|---|
ALL, NONE |
| Fields inherited from interface Filter |
|---|
EXCLUDE, INCLUDE |
| Constructor Summary | |
|---|---|
protected |
AbstractFilter(FilterFactory factory)
|
| Method Summary | |
|---|---|
void |
accept(FilterVisitor visitor)
Deprecated. use Filter.accept(FilterVisitor, Object) |
boolean |
contains(SimpleFeature feature)
Deprecated. use Filter#evaluate(Feature) |
short |
getFilterType()
Deprecated. The enumeration base type system is replaced with a class based type system. An 'instanceof' check should be made instead of calling this method. |
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 FilterAbstract |
|---|
accept, accepts, eval, eval, eval, evaluate |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface Filter |
|---|
and, evaluate, not, or |
| Methods inherited from interface Filter |
|---|
accept, evaluate |
| Field Detail |
|---|
protected static final Logger LOGGER
protected short filterType
protected boolean permissiveConstruction
| Constructor Detail |
|---|
protected AbstractFilter(FilterFactory factory)
factory - | Method Detail |
|---|
public final boolean contains(SimpleFeature feature)
Filter#evaluate(Feature)
This calls through to #evaluate(Feature).
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()
public final void accept(FilterVisitor visitor)
Filter.accept(FilterVisitor, Object)
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 | |||||||||