|
||||||||||
| 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.NodeIteratorImpl
A NodeIterator implementation.
| Constructor Summary | |
NodeIteratorImpl(java.util.Iterator iter,
java.lang.Object object)
Creates new NodeIteratorImpl |
|
| Method Summary | |
void |
close()
Terminate the iteration and free up resources. |
boolean |
hasNext()
Determine if there any more values in the iteration. |
RDFNode |
next()
Return the next RDFNode 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 NodeIteratorImpl(java.util.Iterator iter,
java.lang.Object object)
| Method Detail |
public boolean hasNext()
throws RDFException
NodeIterator
hasNext in interface NodeIteratorRDFException - Generic RDF exception.
public RDFNode next()
throws java.util.NoSuchElementException,
RDFException
NodeIterator
next in interface NodeIteratorRDFException - Generic RDF exception.
java.util.NoSuchElementException - if there are no more nodes to be returned.
public void remove()
throws java.util.NoSuchElementException,
RDFException
NodeIterator
remove in interface NodeIteratorRDFException
java.util.NoSuchElementException
public void close()
throws RDFException
NodeIteratorSome 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 | |||||||||