org.openrdf.rdf2go
Class GraphIterator

java.lang.Object
  extended by org.openrdf.rdf2go.GraphIterator
All Implemented Interfaces:
java.util.Iterator<Statement>, ClosableIterator<Statement>

public class GraphIterator
extends java.lang.Object
implements ClosableIterator<Statement>


Constructor Summary
GraphIterator(info.aduna.iteration.CloseableIteration<org.openrdf.model.Statement,org.openrdf.query.QueryEvaluationException> iterator, RepositoryModel model)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 Statement next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphIterator

public GraphIterator(info.aduna.iteration.CloseableIteration<org.openrdf.model.Statement,org.openrdf.query.QueryEvaluationException> iterator,
                     RepositoryModel model)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<Statement>
Specified by:
hasNext in interface ClosableIterator<Statement>

next

public Statement next()
Specified by:
next in interface java.util.Iterator<Statement>
Specified by:
next in interface ClosableIterator<Statement>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<Statement>
Specified by:
remove in interface ClosableIterator<Statement>

close

public void close()
Specified by:
close in interface ClosableIterator<Statement>


Copyright © 2001-2008 FZI. All Rights Reserved.