|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.filter.FilterAbstract
org.geotools.filter.AbstractFilter
org.geotools.filter.AbstractFilterImpl
org.geotools.filter.NullFilterImpl
public class 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 class org.geotools.filter.FilterAbstract |
---|
factory |
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 |
Fields inherited from interface org.opengis.filter.PropertyIsNull |
---|
NAME |
Fields inherited from interface org.opengis.filter.Filter |
---|
EXCLUDE, INCLUDE |
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(java.lang.Object 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, getFilterType, isCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilter |
Methods inherited from class org.geotools.filter.FilterAbstract |
---|
accepts, eval, eval, eval, evaluate |
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, evaluate, getFilterType, not, or |
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)
public boolean evaluate(java.lang.Object feature)
evaluate
in interface org.opengis.filter.Filter
feature
- Specified feature to examine.
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- - the object to compare this LikeFilter against.
public int hashCode()
hashCode
in class java.lang.Object
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 |