|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.hp.hpl.mesa.rdf.jena.common.StmtIteratorImpl
An implementation of StmtIterator.
| Constructor Summary | |
StmtIteratorImpl(java.util.Iterator iterator,
java.lang.Object object)
Creates new StmtIteratorImpl |
|
| Method Summary | |
void |
close()
Terminate the iteration and free up resources. |
boolean |
hasNext()
Determine if there any more Statements in the iteration. |
Statement |
next()
Return the next Statement of the iteration. |
void |
remove()
Remove the most recently returned Statement from its associated model. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StmtIteratorImpl(java.util.Iterator iterator,
java.lang.Object object)
| Method Detail |
public boolean hasNext()
throws RDFException
StmtIterator
hasNext in interface StmtIteratorRDFException - Generic RDF exception.
public Statement next()
throws java.util.NoSuchElementException,
RDFException
StmtIterator
next in interface StmtIteratorRDFException - Generic RDF exception.
java.util.NoSuchElementException - if there are no more to be returned.
public void remove()
throws java.util.NoSuchElementException,
RDFException
StmtIterator
remove in interface StmtIteratorRDFException - Generic RDF exception.
java.util.NoSuchElementException - thrown if no Statement has been returned.
public void close()
throws RDFException
StmtIteratorSome implementations, e.g. on relational databases, hold resources while the iterator still exists. These will normally be freed when the iteration completes. However, if an application wishes to ensure they are freed without completing the iteration, this method should be called.
close in interface StmtIteratorRDFException - Generic RDF exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||