| |
|
| java.lang.Object org.geotools.filter.FilterAbstract org.geotools.filter.AbstractFilter org.geotools.filter.AbstractFilterImpl org.geotools.filter.NullFilterImpl
NullFilterImpl | public class NullFilterImpl extends AbstractFilterImpl implements NullFilter(Code) | | Defines a null filter, which checks to see if an attribute is null.
author: Rob Hranac, Vision for New York version: $Id: NullFilterImpl.java 24253 2007-02-07 13:19:42Z groldan $ |
Constructor Summary | |
protected | NullFilterImpl() Constructor which sets the type as null check. |
Method Summary | |
public Object | accept(FilterVisitor visitor, Object extraData) 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. | public boolean | equals(Object obj) Compares this filter to the specified object. | public boolean | evaluate(Object feature) Determines whether or not a given feature is 'inside' this filter.
Parameters: feature - Specified feature to examine. | public org.opengis.filter.expression.Expression | getExpression() Returns the expression which represents the null check. | final public Expression | getNullCheckValue() Returns the expression being checked for null. | public int | hashCode() Override of hashCode method. | final public void | nullCheckValue(Expression nullCheck) Determines whether or not a given feature is 'inside' this filter. | public void | setExpression(org.opengis.filter.expression.Expression nullCheck) Sets the expression which represents the null check. | public String | toString() Returns a string representation of this filter. |
NullFilterImpl | protected NullFilterImpl()(Code) | | Constructor which sets the type as null check.
|
accept | public Object accept(FilterVisitor visitor, Object extraData)(Code) | | 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.
Parameters: visitor - The visitor which requires access to this filter, themethod must call visitor.visit(this); |
equals | public boolean equals(Object obj)(Code) | | Compares this filter to the specified object. Returns true if the
passed in object is the same as this filter. Checks to make sure the
filter types, and the NullCheckValue are the same.
Parameters: obj - - the object to compare this LikeFilter against. true if specified object is equal to this filter; falseotherwise. |
evaluate | public boolean evaluate(Object feature)(Code) | | Determines whether or not a given feature is 'inside' this filter.
Parameters: feature - Specified feature to examine. Flag confirming whether or not this feature is inside thefilter. |
getExpression | public org.opengis.filter.expression.Expression getExpression()(Code) | | Returns the expression which represents the null check.
|
hashCode | public int hashCode()(Code) | | Override of hashCode method.
a hash code value for this geometry filter. |
nullCheckValue | final public void nullCheckValue(Expression nullCheck) throws IllegalFilterException(Code) | | Determines whether or not a given feature is 'inside' this filter.
Parameters: nullCheck - The attribute expression to null check. throws: IllegalFilterException - If attempting to add a non-attributeexpression.PropertyIsNull.setExpression(Expression) |
setExpression | public void setExpression(org.opengis.filter.expression.Expression nullCheck)(Code) | | Sets the expression which represents the null check.
|
toString | public String toString()(Code) | | Returns a string representation of this filter.
String representation of the null filter. |
Fields inherited from org.geotools.filter.FilterAbstract | protected org.opengis.filter.FilterFactory factory(Code)(Java Doc)
|
|
|
|