|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.filter.FilterAbstract org.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 | |
java.lang.Object |
accept(org.opengis.filter.FilterVisitor visitor,
java.lang.Object extraData)
Used by FilterVisitors to perform some action on this filter instance. |
boolean |
equals(java.lang.Object obj)
Compares this filter to the specified object. |
boolean |
evaluate(Feature feature)
Determines whether or not a given feature is 'inside' this filter. |
org.opengis.filter.expression.Expression |
getExpression()
Returns the expression which represents the null check. |
Expression |
getNullCheckValue()
Deprecated. use getExpression() . |
int |
hashCode()
Override of hashCode method. |
void |
nullCheckValue(Expression nullCheck)
Deprecated. use PropertyIsNull.setExpression(Expression) |
void |
setExpression(org.opengis.filter.expression.Expression nullCheck)
Sets the expression which represents the null check. |
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 |
accept, contains, evaluate, getFilterType, isCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilter |
Methods inherited from class org.geotools.filter.FilterAbstract |
accepts, comparable, eval, eval |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.geotools.filter.NullFilter |
contains |
Methods inherited from interface org.geotools.filter.Filter |
accept, and, getFilterType, not, or |
Methods inherited from interface org.opengis.filter.Filter |
evaluate |
Constructor Detail |
protected NullFilterImpl()
Method Detail |
public final void nullCheckValue(Expression nullCheck) throws IllegalFilterException
PropertyIsNull.setExpression(Expression)
nullCheckValue
in interface NullFilter
nullCheck
- The attribute expression to null check.
IllegalFilterException
- If attempting to add a non-attribute
expression.public final Expression getNullCheckValue()
getExpression()
.
getNullCheckValue
in interface NullFilter
public org.opengis.filter.expression.Expression getExpression()
getExpression
in interface org.opengis.filter.PropertyIsNull
public void setExpression(org.opengis.filter.expression.Expression nullCheck)
setExpression
in interface org.opengis.filter.PropertyIsNull
public boolean evaluate(Feature feature)
evaluate
in interface Filter
evaluate
in class FilterAbstract
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 java.lang.Object accept(org.opengis.filter.FilterVisitor visitor, java.lang.Object extraData)
accept
in interface org.opengis.filter.Filter
accept
in class FilterAbstract
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 |