|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.text.AbstractFilter
de.unidu.is.text.AbstractSingleItemFilter
This is an abstract filter implementation which converts every object into exactly one object (or into null), and which allows for chaining filters.
Subclasses have to implement the actual filtering method.
| Field Summary |
| Fields inherited from class de.unidu.is.text.AbstractFilter |
nextFilter |
| Constructor Summary | |
AbstractSingleItemFilter(Filter nextFilter)
Creates a new instance and sets the next filter in the chain. |
|
| Method Summary | |
protected java.util.Iterator |
filter(java.lang.Object value)
Applies only this filter on the specified object, without considering the other filters from the filter chain. |
| Methods inherited from class de.unidu.is.text.AbstractFilter |
apply, apply |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.unidu.is.text.SingleItemFilter |
run |
| Constructor Detail |
public AbstractSingleItemFilter(Filter nextFilter)
nextFilter - next filter in the filter chain| Method Detail |
protected java.util.Iterator filter(java.lang.Object value)
This method applies
run(String) on the specified object,
and then returns a SingleItemIterator returning the
resulting object. If run(String) returns null, a
filter in class AbstractFilter
value - value to be modified by this filter
AbstractFilter.filter(java.lang.Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||