org.shapelogic.filter
Class BaseFilter<BaseClass,Element>
java.lang.Object
org.shapelogic.filter.BaseFilter<BaseClass,Element>
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate, IFilter<BaseClass,Element>
- Direct Known Subclasses:
- AllFilter, AndFilter, DynamicBaseFilter, NotFilter, OrFilter, PolygonLineFilter, PolygonPointFilter
public abstract class BaseFilter<BaseClass,Element>
- extends java.lang.Object
- implements IFilter<BaseClass,Element>
- Author:
- Sami Badawi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_collection
protected java.util.Collection<Element> _collection
_parent
protected BaseClass _parent
_constraint
protected java.lang.Object _constraint
BaseFilter
public BaseFilter()
getCollection
public java.util.Collection<Element> getCollection()
- Specified by:
getCollection
in interface IFilter<BaseClass,Element>
getParent
public BaseClass getParent()
- Specified by:
getParent
in interface IFilter<BaseClass,Element>
setCollection
public void setCollection(java.util.Collection<Element> collection)
- Specified by:
setCollection
in interface IFilter<BaseClass,Element>
setParent
public void setParent(BaseClass parent)
- Specified by:
setParent
in interface IFilter<BaseClass,Element>
evaluate
public abstract boolean evaluate(java.lang.Object arg0)
- Specified by:
evaluate
in interface org.apache.commons.collections.Predicate
filter
public java.util.Collection<Element> filter()
- Specified by:
filter
in interface IFilter<BaseClass,Element>
getConstraint
@Deprecated
public java.lang.Object getConstraint()
- Deprecated.
- Specified by:
getConstraint
in interface IFilter<BaseClass,Element>
setConstraint
public void setConstraint(java.lang.Object constraint)
- Specified by:
setConstraint
in interface IFilter<BaseClass,Element>
setup
public void setup()
throws java.lang.Exception
- Specified by:
setup
in interface IFilter<BaseClass,Element>
- Throws:
java.lang.Exception
Copyright © 2009. All Rights Reserved.