org.geotools.filter
Class AndImpl

java.lang.Object
  extended byorg.geotools.filter.FilterAbstract
      extended byorg.geotools.filter.AbstractFilter
          extended byorg.geotools.filter.BinaryLogicAbstract
              extended byorg.geotools.filter.LogicFilterImpl
                  extended byorg.geotools.filter.AndImpl
All Implemented Interfaces:
org.opengis.filter.And, org.opengis.filter.BinaryLogicOperator, Filter, org.opengis.filter.Filter, FilterType, LogicFilter

public class AndImpl
extends LogicFilterImpl
implements org.opengis.filter.And


Field Summary
 
Fields inherited from class org.geotools.filter.BinaryLogicAbstract
children
 
Fields inherited from class org.geotools.filter.AbstractFilter
filterType, permissiveConstruction
 
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(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(Feature feature)
          Determines whether or not a given feature is 'inside' this filter.
 
Methods inherited from class org.geotools.filter.LogicFilterImpl
addFilter, and, equals, getFilterIterator, hashCode, not, or, toString
 
Methods inherited from class org.geotools.filter.BinaryLogicAbstract
getChildren, setChildren
 
Methods inherited from class org.geotools.filter.AbstractFilter
accept, contains, evaluate, getFilterType, isCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilter
 
Methods inherited from class org.geotools.filter.FilterAbstract
accepts, comparable, eval, eval
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.filter.BinaryLogicOperator
getChildren, setChildren
 
Methods inherited from interface org.opengis.filter.Filter
evaluate
 
Methods inherited from interface org.geotools.filter.LogicFilter
contains
 
Methods inherited from interface org.geotools.filter.Filter
accept, getFilterType
 

Constructor Detail

AndImpl

protected AndImpl(FilterFactory factory,
                  java.util.List children)
Method Detail

evaluate

public boolean evaluate(Feature feature)
Description copied from class: LogicFilterImpl
Determines whether or not a given feature is 'inside' this filter.

Specified by:
evaluate in interface Filter
Specified by:
evaluate in class LogicFilterImpl
Parameters:
feature - Specified feature to examine.
Returns:
Flag confirming whether or not this feature is inside the 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 © GeoTools. All Rights Reserved.