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 java.lang.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



Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.