|
||||||||||
| 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.SeqNodeIteratorImpl
An internal class not normally of interest to developers. A sequence node iterator.
| Constructor Summary | |
SeqNodeIteratorImpl(java.util.Iterator iterator,
java.lang.Object object,
Seq seq)
Creates new SeqNodeIteratorImpl |
|
| 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 SeqNodeIteratorImpl(java.util.Iterator iterator,
java.lang.Object object,
Seq seq)
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 | |||||||||