|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.hp.hpl.jena.util.StatementObjectIterator
A wrapper for StmtIterator that projects the object of the statement to form a NodeIterator.
| Constructor Summary | |
StatementObjectIterator(StmtIterator sIterator)
Construct an iterator to project the object of the statement out to form a node iterator. |
|
| Method Summary | |
void |
close()
Terminate the iteration and free up resources. |
boolean |
hasNext()
Determine if there any more Nodes in the iteration. |
RDFNode |
next()
Return the next Node of the iteration. |
void |
remove()
Unsupported Operation. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StatementObjectIterator(StmtIterator sIterator)
sIterator - The StmtIterator whose objects will form the elements of the
the node iterator.| Method Detail |
public boolean hasNext()
throws RDFException
hasNext in interface NodeIteratorRDFException - Generic RDF exception.
public RDFNode next()
throws java.util.NoSuchElementException,
RDFException
next in interface NodeIteratorjava.util.NoSuchElementException - if there are no more to be returned.
RDFException - Generic RDF exception.
public void remove()
throws java.util.NoSuchElementException,
RDFException
remove in interface NodeIteratorjava.util.NoSuchElementException
RDFException
public void close()
throws RDFException
Some 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 NodeIteratorRDFException - Generic RDF exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||