org.shapelogic.filter
Class DynamicBaseFilter<BaseClass,Element>
java.lang.Object
org.shapelogic.filter.BaseFilter<BaseClass,Element>
org.shapelogic.filter.DynamicBaseFilter<BaseClass,Element>
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate, IFilter<BaseClass,Element>
public class DynamicBaseFilter<BaseClass,Element>
- extends BaseFilter<BaseClass,Element>
- Author:
- Sami Badawi
Constructor Summary |
DynamicBaseFilter(java.lang.String criteriaExpression,
java.lang.String collectionExpression)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_criteriaExpression
protected java.lang.String _criteriaExpression
_collectionExpression
protected java.lang.String _collectionExpression
DynamicBaseFilter
public DynamicBaseFilter(java.lang.String criteriaExpression,
java.lang.String collectionExpression)
getCollection
public java.util.Collection<Element> getCollection()
- Specified by:
getCollection
in interface IFilter<BaseClass,Element>
- Overrides:
getCollection
in class BaseFilter<BaseClass,Element>
evaluate
public boolean evaluate(java.lang.Object arg0)
- Specified by:
evaluate
in interface org.apache.commons.collections.Predicate
- Specified by:
evaluate
in class BaseFilter<BaseClass,Element>
Copyright © 2009. All Rights Reserved.