org.geotools.filter
Class IsLessThenOrEqualToImpl

java.lang.Object
  extended byorg.geotools.filter.FilterAbstract
      extended byorg.geotools.filter.AbstractFilter
          extended byorg.geotools.filter.BinaryComparisonAbstract
              extended byorg.geotools.filter.CompareFilterImpl
                  extended byorg.geotools.filter.IsLessThenOrEqualToImpl
All Implemented Interfaces:
org.opengis.filter.BinaryComparisonOperator, CompareFilter, Filter, org.opengis.filter.Filter, FilterType, org.opengis.filter.PropertyIsLessThanOrEqualTo

public class IsLessThenOrEqualToImpl
extends CompareFilterImpl
implements org.opengis.filter.PropertyIsLessThanOrEqualTo


Field Summary
 
Fields inherited from class org.geotools.filter.BinaryComparisonAbstract
expression1, expression2
 
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 IsLessThenOrEqualToImpl(FilterFactory factory)
           
protected IsLessThenOrEqualToImpl(FilterFactory factory, org.opengis.filter.expression.Expression expression1, org.opengis.filter.expression.Expression expression2)
           
 
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.CompareFilterImpl
addLeftValue, addRightValue, compare, equals, getLeftValue, getRightValue, hashCode, setExpression1, setExpression2, toString
 
Methods inherited from class org.geotools.filter.BinaryComparisonAbstract
and, getExpression1, getExpression2, not, or
 
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.BinaryComparisonOperator
getExpression1, getExpression2, setExpression1, setExpression2
 
Methods inherited from interface org.opengis.filter.Filter
evaluate
 
Methods inherited from interface org.geotools.filter.CompareFilter
contains
 
Methods inherited from interface org.geotools.filter.Filter
accept, and, getFilterType, not, or
 

Constructor Detail

IsLessThenOrEqualToImpl

protected IsLessThenOrEqualToImpl(FilterFactory factory)

IsLessThenOrEqualToImpl

protected IsLessThenOrEqualToImpl(FilterFactory factory,
                                  org.opengis.filter.expression.Expression expression1,
                                  org.opengis.filter.expression.Expression expression2)
Method Detail

evaluate

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

Specified by:
evaluate in interface Filter
Specified by:
evaluate in class CompareFilterImpl
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: 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);


Copyright © GeoTools. All Rights Reserved.