org.geotools.filter
Class BinaryLogicAbstract

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

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

Author:
jdeolive

Field Summary
protected  java.util.List children
           
 
Fields inherited from class org.geotools.filter.AbstractFilter
filterType, LOGGER, permissiveConstruction
 
Fields inherited from class org.geotools.filter.FilterAbstract
factory
 
Fields inherited from interface org.opengis.filter.Filter
EXCLUDE, INCLUDE
 
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(org.opengis.filter.FilterFactory factory, java.util.List children)
           
 
Method Summary
 Filter and(org.opengis.filter.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(org.opengis.filter.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, getFilterType, isCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilter
 
Methods inherited from class org.geotools.filter.FilterAbstract
accept, accepts, eval, 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(org.opengis.filter.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)

and

public Filter and(org.opengis.filter.Filter filter)
Description copied from interface: Filter
Implements a logical AND with this filter and returns the merged filter.

Parameters:
filter - The filter to AND with this filter.
Returns:
Combined filter.

or

public Filter or(org.opengis.filter.Filter filter)
Description copied from interface: Filter
Implements a logical OR with this filter and returns the merged 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

Returns:
Combined filter.


Copyright © 1996-2010 Geotools. All Rights Reserved.