org.geotools.filter.spatial
Class ContainsImpl
java.lang.Object
org.geotools.filter.FilterAbstract
org.geotools.filter.AbstractFilter
org.geotools.filter.BinaryComparisonAbstract
org.geotools.filter.GeometryFilterImpl
org.geotools.filter.spatial.ContainsImpl
- All Implemented Interfaces:
- org.opengis.filter.BinaryComparisonOperator, org.opengis.filter.spatial.BinarySpatialOperator, org.opengis.filter.spatial.Contains, Filter, org.opengis.filter.Filter, FilterType, GeometryFilter, org.opengis.filter.spatial.SpatialOperator
- public class ContainsImpl
- extends GeometryFilterImpl
- implements org.opengis.filter.spatial.Contains
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 |
ContainsImpl(FilterFactory factory,
org.opengis.filter.expression.Expression e1,
org.opengis.filter.expression.Expression e2)
|
Method Summary |
java.lang.Object |
accept(org.opengis.filter.FilterVisitor visitor,
java.lang.Object extraData)
Subclass should override, default implementation just returns extraData |
boolean |
evaluate(Feature feature)
Determines whether or not a given feature is 'inside' this filter. |
Methods inherited from class org.geotools.filter.GeometryFilterImpl |
addLeftGeometry, addRightGeometry, equals, getLeftGeometry, getLeftGeometry, getRightGeometry, getRightGeometry, hashCode, setExpression1, setExpression2, toString, validate |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.filter.spatial.BinarySpatialOperator |
getExpression1, getExpression2 |
Methods inherited from interface org.opengis.filter.Filter |
evaluate |
ContainsImpl
public ContainsImpl(FilterFactory factory,
org.opengis.filter.expression.Expression e1,
org.opengis.filter.expression.Expression e2)
evaluate
public boolean evaluate(Feature feature)
- Description copied from class:
GeometryFilterImpl
- Determines whether or not a given feature is 'inside' this filter.
- Specified by:
evaluate
in interface Filter
- Specified by:
evaluate
in class GeometryFilterImpl
- Parameters:
feature
- Specified feature to examine.
- Returns:
- Flag confirming whether or not this feature is inside filter.
accept
public java.lang.Object accept(org.opengis.filter.FilterVisitor visitor,
java.lang.Object extraData)
- Description copied from class:
FilterAbstract
- Subclass should override, default implementation just returns extraData
- Specified by:
accept
in interface org.opengis.filter.Filter
- Overrides:
accept
in class FilterAbstract
Copyright © GeoTools. All Rights Reserved.