|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectFilterAbstract
AbstractFilter
BinaryComparisonAbstract
GeometryFilterImpl
AbstractPreparedGeometryFilter
BBOXImpl
public class BBOXImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from class AbstractPreparedGeometryFilter |
---|
AbstractPreparedGeometryFilter.Literals |
Nested classes/interfaces inherited from interface MultiValuedFilter |
---|
MultiValuedFilter.MatchAction |
Field Summary |
---|
Fields inherited from class AbstractPreparedGeometryFilter |
---|
cacheValue, leftPreppedGeom, literals, rightPreppedGeom |
Fields inherited from class GeometryFilterImpl |
---|
matchAction |
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 |
Constructor Summary | |
---|---|
BBOXImpl(FilterFactory factory,
Expression e1,
Expression e2)
|
|
BBOXImpl(FilterFactory factory,
Expression e1,
Expression e2,
MultiValuedFilter.MatchAction matchAction)
|
|
BBOXImpl(FilterFactoryImpl factory,
Expression name,
double minx,
double miny,
double maxx,
double maxy,
String srs)
|
|
BBOXImpl(FilterFactoryImpl factory,
Expression name,
double minx,
double miny,
double maxx,
double maxy,
String srs,
MultiValuedFilter.MatchAction matchAction)
|
Method Summary | |
---|---|
Object |
accept(FilterVisitor visitor,
Object extraData)
Subclass should override, default implementation just returns extraData |
protected boolean |
basicEvaluate(Geometry left,
Geometry right)
Performs the calculation on the two geometries. |
boolean |
evaluateInternal(Geometry left,
Geometry right)
Performs the calculation on the two geometries. |
BoundingBox |
getBounds()
Return Bounding Box object representing the bounds of the filter |
double |
getMaxX()
Assuming getExpression2() is a literal bounding box access the maximum value for the first ordinate. |
double |
getMaxY()
Assuming getExpression2() is a literal bounding box access the maximum value for the second coordinate. |
double |
getMinX()
Assuming getExpression2() is a literal bounding box access the minimum value for the first coordinate. |
double |
getMinY()
Assuming getExpression2() is a literal bounding box access the minimum value for the second ordinate. |
String |
getPropertyName()
Name of the geometric property that will be used in this spatial operator. |
String |
getSRS()
Returns the spatial reference system in which the bounding box coordinates contained by this object should be interpreted. |
void |
setExpression1(Expression expression)
|
void |
setExpression2(Expression expression)
|
void |
setMaxX(double maxx)
Deprecated. use the constructor or setExpression2 |
void |
setMaxY(double maxy)
Deprecated. use the constructor or setExpression2 |
void |
setMinX(double minx)
Deprecated. use the constructor or setExpression2 |
void |
setMinY(double miny)
Deprecated. use the constructor or setExpression2 |
void |
setPropertyName(String propertyName)
|
void |
setSRS(String srs)
Deprecated. use the constructor or setExpression2 |
Methods inherited from class GeometryFilterImpl |
---|
addLeftGeometry, addRightGeometry, equals, evaluate, evaluate, getGeometries, getLeftGeometry, getLeftGeometry, getMatchAction, getRightGeometry, getRightGeometry, hashCode, toString |
Methods inherited from class BinaryComparisonAbstract |
---|
and, comparable, eval, 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 MultiValuedFilter |
---|
getMatchAction |
Methods inherited from interface Filter |
---|
evaluate |
Methods inherited from interface GeometryFilter |
---|
contains |
Methods inherited from interface Filter |
---|
accept, and, getFilterType, not, or |
Constructor Detail |
---|
public BBOXImpl(FilterFactory factory, Expression e1, Expression e2)
public BBOXImpl(FilterFactoryImpl factory, Expression name, double minx, double miny, double maxx, double maxy, String srs)
public BBOXImpl(FilterFactory factory, Expression e1, Expression e2, MultiValuedFilter.MatchAction matchAction)
public BBOXImpl(FilterFactoryImpl factory, Expression name, double minx, double miny, double maxx, double maxy, String srs, MultiValuedFilter.MatchAction matchAction)
Method Detail |
---|
public String getPropertyName()
BBOX
This may be null if the default spatial property is to be used.
getPropertyName
in interface BBOX
public void setPropertyName(String propertyName)
public String getSRS()
BBOX
This string must take one of two forms: either
getSRS
in interface BBOX
public void setSRS(String srs)
public double getMinX()
BBOX
getMinX
in interface BBOX
public void setMinX(double minx)
public double getMinY()
BBOX
getMinY
in interface BBOX
public void setMinY(double miny)
public double getMaxX()
BBOX
getMaxX
in interface BBOX
public void setMaxX(double maxx)
public double getMaxY()
BBOX
getMaxY
in interface BBOX
public void setMaxY(double maxy)
public boolean evaluateInternal(Geometry left, Geometry right)
GeometryFilterImpl
evaluateInternal
in class GeometryFilterImpl
left
- the geometry on the left of the equations (the geometry obtained from evaluating Expression1)right
- the geometry on the right of the equations (the geometry obtained from evaluating Expression2)
protected boolean basicEvaluate(Geometry left, Geometry right)
AbstractPreparedGeometryFilter
basicEvaluate
in class AbstractPreparedGeometryFilter
left
- the geometry on the left of the equations (the geometry obtained from evaluating Expression1)right
- the geometry on the right of the equations (the geometry obtained from evaluating Expression2)
public Object accept(FilterVisitor visitor, Object extraData)
FilterAbstract
accept
in interface Filter
accept
in class FilterAbstract
public void setExpression1(Expression expression)
setExpression1
in class AbstractPreparedGeometryFilter
public void setExpression2(Expression expression)
setExpression2
in class AbstractPreparedGeometryFilter
public BoundingBox getBounds()
BBOX
getBounds
in interface BBOX
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |