|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.archive.wayback.util.ObjectFilterChain<E>
E - public class ObjectFilterChain<E>
ObjectFilterChain implements AND logic to chain together multiple ObjectFilters into a composite. ABORT and EXCLUDE short circuit the chain, all filters must INCLUDE for inclusion.
| Field Summary |
|---|
| Fields inherited from interface org.archive.wayback.util.ObjectFilter |
|---|
FILTER_ABORT, FILTER_EXCLUDE, FILTER_INCLUDE |
| Constructor Summary | |
|---|---|
ObjectFilterChain()
Constructor |
|
| Method Summary | |
|---|---|
void |
addFilter(ObjectFilter<E> filter)
|
int |
filterObject(E o)
inpect record and determine if it should be included in the results or not, or if processing of new records should stop. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectFilterChain()
| Method Detail |
|---|
public void addFilter(ObjectFilter<E> filter)
filter - to be added to the chain. filters are processed in the
order they are added to the chain.public int filterObject(E o)
ObjectFilter
filterObject in interface ObjectFilter<E>o - Object which should be checked for inclusion/exclusion or abort
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||