org.openjena.atlas.iterator
Class FilterStack<T>

java.lang.Object
  extended by org.openjena.atlas.iterator.FilterStack<T>
All Implemented Interfaces:
Filter<T>

public abstract class FilterStack<T>
extends Object
implements Filter<T>

Add a filter to a chain - the original filter is called after this new sub-filter.


Constructor Summary
FilterStack(Filter<T> other)
           
FilterStack(Filter<T> other, boolean callOldFilterFirst)
           
 
Method Summary
 boolean accept(T item)
           
abstract  boolean acceptAdditional(T item)
          Additional filter condition to apply
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterStack

public FilterStack(Filter<T> other)

FilterStack

public FilterStack(Filter<T> other,
                   boolean callOldFilterFirst)
Method Detail

accept

public final boolean accept(T item)
Specified by:
accept in interface Filter<T>

acceptAdditional

public abstract boolean acceptAdditional(T item)
Additional filter condition to apply



Licenced under the Apache License, Version 2.0