org.geotools.filter
Class IsNullImpl
java.lang.Object
org.geotools.filter.FilterAbstract
org.geotools.filter.AbstractFilter
org.geotools.filter.BinaryComparisonAbstract
org.geotools.filter.CompareFilterImpl
org.geotools.filter.IsNullImpl
- All Implemented Interfaces:
- CompareFilter, FilterType, NullFilter, org.opengis.filter.BinaryComparisonOperator, org.opengis.filter.Filter, org.opengis.filter.PropertyIsNull
public class IsNullImpl
- extends CompareFilterImpl
- implements NullFilter
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 |
IsNullImpl(org.opengis.filter.FilterFactory factory,
org.opengis.filter.expression.Expression expression)
|
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 |
evaluate(java.lang.Object feature)
|
org.opengis.filter.expression.Expression |
getExpression()
|
Expression |
getNullCheckValue()
Returns the expression being checked for null. |
void |
nullCheckValue(Expression nullCheck)
Determines whether or not a given feature is 'inside' this filter. |
void |
setExpression(org.opengis.filter.expression.Expression expression)
|
Methods inherited from class org.geotools.filter.CompareFilterImpl |
addLeftValue, addRightValue, compare, equals, evaluate, getLeftValue, getRightValue, hashCode, setExpression1, setExpression2, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.filter.BinaryComparisonOperator |
getExpression1, getExpression2, isMatchingCase |
IsNullImpl
public IsNullImpl(org.opengis.filter.FilterFactory factory,
org.opengis.filter.expression.Expression expression)
evaluate
public boolean evaluate(java.lang.Object feature)
- Specified by:
evaluate
in interface org.opengis.filter.Filter
accept
public java.lang.Object accept(org.opengis.filter.FilterVisitor visitor,
java.lang.Object extraData)
- Description copied from class:
CompareFilterImpl
- 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.
- Specified by:
accept
in interface org.opengis.filter.Filter
- Specified by:
accept
in class CompareFilterImpl
- Parameters:
visitor
- The visitor which requires access to this filter, the
method must call visitor.visit(this);
nullCheckValue
public void nullCheckValue(Expression nullCheck)
throws IllegalFilterException
- Description copied from interface:
NullFilter
- Determines whether or not a given feature is 'inside' this filter.
- Specified by:
nullCheckValue
in interface NullFilter
- Parameters:
nullCheck
- The attribute expression to null check.
- Throws:
IllegalFilterException
- If attempting to add a non-attribute
expression.
getNullCheckValue
public Expression getNullCheckValue()
- Description copied from interface:
NullFilter
- Returns the expression being checked for null.
- Specified by:
getNullCheckValue
in interface NullFilter
- Returns:
- the Expression to null check.
getExpression
public org.opengis.filter.expression.Expression getExpression()
- Specified by:
getExpression
in interface org.opengis.filter.PropertyIsNull
setExpression
public void setExpression(org.opengis.filter.expression.Expression expression)
Copyright © 1996-2010 Geotools. All Rights Reserved.