org.geotools.filter.spatial
Class BBOXImpl

Object
  extended by FilterAbstract
      extended by AbstractFilter
          extended by BinaryComparisonAbstract
              extended by GeometryFilterImpl
                  extended by BBOXImpl
All Implemented Interfaces:
FilterType, GeometryFilter, BinaryComparisonOperator, Filter, BBOX, BinarySpatialOperator, SpatialOperator

public class BBOXImpl
extends GeometryFilterImpl
implements BBOX


Field Summary
 
Fields inherited from class BinaryComparisonAbstract
expression1, expression2
 
Fields inherited from class AbstractFilter
filterType, permissiveConstruction
 
Fields inherited from class FilterAbstract
factory
 
Fields inherited from interface BBOX
NAME
 
Fields inherited from interface Filter
EXCLUDE, INCLUDE
 
Fields inherited from interface Filter
ALL, NONE
 
Fields inherited from interface 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
BBOXImpl(FilterFactory factory, Expression e1, Expression e2)
           
 
Method Summary
 Object accept(FilterVisitor visitor, Object extraData)
          Subclass should override, default implementation just returns extraData
 boolean evaluate(Object feature)
           
 double getMaxX()
           
 double getMaxY()
           
 double getMinX()
           
 double getMinY()
           
 String getPropertyName()
           
 String getSRS()
           
 void setExpression1(Expression expression)
           
 void setExpression2(Expression expression)
           
 void setMaxX(double maxx)
           
 void setMaxY(double maxy)
           
 void setMinX(double minx)
           
 void setMinY(double miny)
           
 void setPropertyName(String propertyName)
           
 void setSRS(String srs)
           
 
Methods inherited from class GeometryFilterImpl
addLeftGeometry, addRightGeometry, equals, evaluate, getLeftGeometry, getLeftGeometry, getRightGeometry, getRightGeometry, hashCode, toString, validate
 
Methods inherited from class BinaryComparisonAbstract
and, comparable, eval, getExpression1, getExpression2, isMatchingCase, 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
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface BinarySpatialOperator
getExpression1, getExpression2
 
Methods inherited from interface GeometryFilter
contains
 
Methods inherited from interface Filter
accept, and, getFilterType, not, or
 

Constructor Detail

BBOXImpl

public BBOXImpl(FilterFactory factory,
                Expression e1,
                Expression e2)
Method Detail

getPropertyName

public String getPropertyName()
Specified by:
getPropertyName in interface BBOX

setPropertyName

public void setPropertyName(String propertyName)

getSRS

public String getSRS()
Specified by:
getSRS in interface BBOX

setSRS

public void setSRS(String srs)

getMinX

public double getMinX()
Specified by:
getMinX in interface BBOX

setMinX

public void setMinX(double minx)

getMinY

public double getMinY()
Specified by:
getMinY in interface BBOX

setMinY

public void setMinY(double miny)

getMaxX

public double getMaxX()
Specified by:
getMaxX in interface BBOX

setMaxX

public void setMaxX(double maxx)

getMaxY

public double getMaxY()
Specified by:
getMaxY in interface BBOX

setMaxY

public void setMaxY(double maxy)

evaluate

public boolean evaluate(Object feature)
Specified by:
evaluate in interface Filter

accept

public Object accept(FilterVisitor visitor,
                     Object extraData)
Description copied from class: FilterAbstract
Subclass should override, default implementation just returns extraData

Specified by:
accept in interface Filter
Overrides:
accept in class FilterAbstract

setExpression1

public void setExpression1(Expression expression)
Overrides:
setExpression1 in class GeometryFilterImpl

setExpression2

public void setExpression2(Expression expression)
Overrides:
setExpression2 in class GeometryFilterImpl


Copyright © 1996-2009 Geotools. All Rights Reserved.