|
||||||||||
| 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.ContNodeIteratorImpl
An internal class not normally of interest to application developers. An iterator over the nodes in a container.
| Constructor Summary | |
ContNodeIteratorImpl(java.util.Iterator iterator,
java.lang.Object object,
Container cont)
Creates new ContNodeIteratorImpl |
|
| 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 ContNodeIteratorImpl(java.util.Iterator iterator,
java.lang.Object object,
Container cont)
throws RDFException
| 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 | |||||||||