|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectFilterAbstract
AbstractFilter
AbstractFilterImpl
NullFilterImpl
public class NullFilterImpl
Defines a null filter, which checks to see if an attribute is null.
Field Summary |
---|
Fields inherited from class AbstractFilter |
---|
filterType, LOGGER, permissiveConstruction |
Fields inherited from class FilterAbstract |
---|
factory |
Fields inherited from interface Filter |
---|
ALL, NONE |
Fields inherited from interface PropertyIsNull |
---|
NAME |
Fields inherited from interface Filter |
---|
EXCLUDE, INCLUDE |
Constructor Summary | |
---|---|
protected |
NullFilterImpl()
Constructor which sets the type as null check. |
Method Summary | |
---|---|
Object |
accept(FilterVisitor visitor,
Object extraData)
Used by FilterVisitors to perform some action on this filter instance. |
boolean |
equals(Object obj)
Compares this filter to the specified object. |
boolean |
evaluate(Object feature)
Determines whether or not a given feature is 'inside' this filter. |
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(Expression nullCheck)
Sets the expression which represents the null check. |
String |
toString()
Returns a string representation of this filter. |
Methods inherited from class AbstractFilterImpl |
---|
and, not, or |
Methods inherited from class AbstractFilter |
---|
accept, contains, getFilterType, isCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilter |
Methods inherited from class FilterAbstract |
---|
accepts, eval, eval, eval, evaluate |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface NullFilter |
---|
contains |
Methods inherited from interface 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 Expression getExpression()
getExpression
in interface PropertyIsNull
public void setExpression(Expression nullCheck)
public boolean evaluate(Object feature)
evaluate
in interface Filter
feature
- Specified feature to examine.
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
obj
- - the object to compare this LikeFilter against.
public int hashCode()
hashCode
in class Object
public Object accept(FilterVisitor visitor, Object extraData)
accept
in interface 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 |