org.openrdf.sail.optimistic.helpers
Class NamedContextCursor

java.lang.Object
  extended by info.aduna.iteration.CloseableIterationBase<E,X>
      extended by info.aduna.iteration.IterationWrapper<E,X>
          extended by info.aduna.iteration.FilterIteration<Statement,QueryEvaluationException>
              extended by org.openrdf.sail.optimistic.helpers.NamedContextCursor
All Implemented Interfaces:
CloseableIteration<Statement,QueryEvaluationException>, Iteration<Statement,QueryEvaluationException>

public class NamedContextCursor
extends FilterIteration<Statement,QueryEvaluationException>

Filters statements that have a context resource.

Author:
James Leigh

Field Summary
 
Fields inherited from class info.aduna.iteration.IterationWrapper
wrappedIter
 
Constructor Summary
NamedContextCursor(Iteration<? extends Statement,? extends QueryEvaluationException> iter)
           
 
Method Summary
protected  boolean accept(Statement st)
           
 
Methods inherited from class info.aduna.iteration.FilterIteration
handleClose, hasNext, next
 
Methods inherited from class info.aduna.iteration.IterationWrapper
remove
 
Methods inherited from class info.aduna.iteration.CloseableIterationBase
close, isClosed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedContextCursor

public NamedContextCursor(Iteration<? extends Statement,? extends QueryEvaluationException> iter)
Method Detail

accept

protected boolean accept(Statement st)
Specified by:
accept in class FilterIteration<Statement,QueryEvaluationException>


Copyright © 2004-2010 James Leigh Services Inc.. All Rights Reserved.