org.geotools.filter
Class BinaryLogicAbstract

java.lang.Object
  extended byorg.geotools.filter.FilterAbstract
      extended byorg.geotools.filter.AbstractFilter
          extended byorg.geotools.filter.BinaryLogicAbstract
All Implemented Interfaces:
org.opengis.filter.BinaryLogicOperator, Filter, org.opengis.filter.Filter, FilterType
Direct Known Subclasses:
LogicFilterImpl

public class BinaryLogicAbstract
extends AbstractFilter
implements org.opengis.filter.BinaryLogicOperator


Field Summary
protected  java.util.List children
           
 
Fields inherited from class org.geotools.filter.AbstractFilter
filterType, LOGGER, 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 BinaryLogicAbstract(FilterFactory factory, java.util.List children)
           
 
Method Summary
 Filter and(Filter filter)
          Implements a logical AND with this filter and returns the merged filter.
 java.util.List getChildren()
           
 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 setChildren(java.util.List children)
           
 
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
accept, accepts, comparable, eval, eval, evaluate
 
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
 
Methods inherited from interface org.geotools.filter.Filter
evaluate
 

Field Detail

children

protected java.util.List children
Constructor Detail

BinaryLogicAbstract

protected BinaryLogicAbstract(FilterFactory factory,
                              java.util.List children)
Method Detail

getChildren

public java.util.List getChildren()
Specified by:
getChildren in interface org.opengis.filter.BinaryLogicOperator

setChildren

public void setChildren(java.util.List children)
Specified by:
setChildren in interface org.opengis.filter.BinaryLogicOperator

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.