|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.filter.AbstractFilter
org.geotools.filter.AbstractFilterImpl
org.geotools.filter.NullFilterImpl
Defines a null filter, which checks to see if an attribute is null.
Field Summary |
Fields inherited from class org.geotools.filter.AbstractFilter |
filterType, LOGGER, permissiveConstruction |
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 | |
protected |
NullFilterImpl()
Constructor which sets the type as null check. |
Method Summary | |
void |
accept(FilterVisitor visitor)
Used by FilterVisitors to perform some action on this filter instance. |
boolean |
contains(Feature feature)
Determines whether or not a given feature is 'inside' this filter. |
boolean |
equals(java.lang.Object obj)
Compares this filter to the specified object. |
Expression |
getNullCheckValue()
Returns the expression being checked for null. |
int |
hashCode()
Override of hashCode method. |
void |
nullCheckValue(Expression nullCheck)
Determines whether or not a given feature is 'inside' this filter. |
java.lang.String |
toString()
Returns a string representation of this filter. |
Methods inherited from class org.geotools.filter.AbstractFilterImpl |
and, not, or |
Methods inherited from class org.geotools.filter.AbstractFilter |
getFilterType, isCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilter |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.geotools.filter.Filter |
and, getFilterType, not, or |
Constructor Detail |
protected NullFilterImpl()
Method Detail |
public void nullCheckValue(Expression nullCheck) throws IllegalFilterException
nullCheckValue
in interface NullFilter
nullCheck
- The attribute expression to null check.
IllegalFilterException
- If attempting to add a non-attribute
expression.public Expression getNullCheckValue()
getNullCheckValue
in interface NullFilter
public boolean contains(Feature feature)
contains
in interface NullFilter
contains
in class AbstractFilter
feature
- Specified feature to examine.
public java.lang.String toString()
public boolean equals(java.lang.Object obj)
obj
- - the object to compare this LikeFilter against.
public int hashCode()
public void accept(FilterVisitor visitor)
accept
in interface Filter
accept
in class AbstractFilter
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 |