org.geotools.filter
Class AndImpl
java.lang.Object
org.geotools.filter.FilterAbstract
org.geotools.filter.AbstractFilter
org.geotools.filter.BinaryLogicAbstract
org.geotools.filter.LogicFilterImpl
org.geotools.filter.AndImpl
- All Implemented Interfaces:
- FilterType, LogicFilter, org.opengis.filter.And, org.opengis.filter.BinaryLogicOperator, org.opengis.filter.Filter
public class AndImpl
- extends LogicFilterImpl
- implements org.opengis.filter.And
Direct implementation of And filter.
- Author:
- jdeolive
Fields inherited from interface org.opengis.filter.Filter |
EXCLUDE, INCLUDE |
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 |
AndImpl(org.opengis.filter.FilterFactory factory,
java.util.List children)
|
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 object)
|
boolean |
evaluate(org.opengis.feature.simple.SimpleFeature feature)
Subclass should overrride. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.filter.BinaryLogicOperator |
getChildren |
AndImpl
protected AndImpl(org.opengis.filter.FilterFactory factory,
java.util.List children)
evaluate
public boolean evaluate(org.opengis.feature.simple.SimpleFeature feature)
- Description copied from class:
FilterAbstract
- Subclass should overrride.
Default value is false
- Overrides:
evaluate
in class FilterAbstract
- Parameters:
feature
- The feature being tested.
- Returns:
- True if the feature is filtered, otherwise false.
evaluate
public boolean evaluate(java.lang.Object object)
- 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:
LogicFilterImpl
- 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 LogicFilterImpl
- Parameters:
visitor
- The visitor which requires access to this filter, the
method must call visitor.visit(this);
Copyright © 1996-2010 Geotools. All Rights Reserved.