org.geotools.filter
Class BinaryComparisonAbstract
java.lang.Object
org.geotools.filter.FilterAbstract
org.geotools.filter.AbstractFilter
org.geotools.filter.BinaryComparisonAbstract
- All Implemented Interfaces:
- org.opengis.filter.BinaryComparisonOperator, Filter, org.opengis.filter.Filter, FilterType
- Direct Known Subclasses:
- CompareFilterImpl, GeometryFilterImpl
- public class BinaryComparisonAbstract
- extends AbstractFilter
- implements org.opengis.filter.BinaryComparisonOperator
Abstract implemention for binary filters.
- Author:
- Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org
Field Summary |
protected org.opengis.filter.expression.Expression |
expression1
|
protected org.opengis.filter.expression.Expression |
expression2
|
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 |
Method Summary |
Filter |
and(Filter filter)
Implements a logical AND with this filter and returns the merged filter. |
org.opengis.filter.expression.Expression |
getExpression1()
|
org.opengis.filter.expression.Expression |
getExpression2()
|
Filter |
not()
Implements a logical NOT with this filter and returns the negated filter |
Filter |
or(Filter filter)
Implements a logical OR with this filter and returns the merged filter. |
void |
setExpression1(org.opengis.filter.expression.Expression expression)
|
void |
setExpression2(org.opengis.filter.expression.Expression expression)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opengis.filter.Filter |
accept, evaluate |
expression1
protected org.opengis.filter.expression.Expression expression1
expression2
protected org.opengis.filter.expression.Expression expression2
BinaryComparisonAbstract
protected BinaryComparisonAbstract(FilterFactory factory)
BinaryComparisonAbstract
protected BinaryComparisonAbstract(FilterFactory factory,
org.opengis.filter.expression.Expression expression1,
org.opengis.filter.expression.Expression expression2)
getExpression1
public org.opengis.filter.expression.Expression getExpression1()
- Specified by:
getExpression1
in interface org.opengis.filter.BinaryComparisonOperator
setExpression1
public void setExpression1(org.opengis.filter.expression.Expression expression)
- Specified by:
setExpression1
in interface org.opengis.filter.BinaryComparisonOperator
getExpression2
public org.opengis.filter.expression.Expression getExpression2()
- Specified by:
getExpression2
in interface org.opengis.filter.BinaryComparisonOperator
setExpression2
public void setExpression2(org.opengis.filter.expression.Expression expression)
- Specified by:
setExpression2
in interface org.opengis.filter.BinaryComparisonOperator
and
public Filter and(Filter filter)
- Description copied from interface:
Filter
- Implements a logical AND with this filter and returns the merged filter.
- Specified by:
and
in interface Filter
- Parameters:
filter
- The filter to AND with this filter.
- Returns:
- Combined filter.
or
public Filter or(Filter filter)
- Description copied from interface:
Filter
- Implements a logical OR with this filter and returns the merged filter.
- Specified by:
or
in interface Filter
- Parameters:
filter
- The filter to OR with this filter.
- Returns:
- Combined filter.
not
public Filter not()
- Description copied from interface:
Filter
- Implements a logical NOT with this filter and returns the negated filter
- Specified by:
not
in interface Filter
- Returns:
- Combined filter.
Copyright © GeoTools. All Rights Reserved.