|
||||||||||
| 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.NsIteratorImpl
An NsIterator implementation
| Constructor Summary | |
NsIteratorImpl(java.util.Iterator iter,
java.lang.Object o)
Creates new NsIteratorImpl |
|
| Method Summary | |
void |
close()
Terminate the iteration and free up resources. |
boolean |
hasNext()
Determine if there any more values in the iteration. |
java.lang.String |
next()
Return the next namespace name 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 NsIteratorImpl(java.util.Iterator iter,
java.lang.Object o)
| Method Detail |
public boolean hasNext()
throws RDFException
NsIterator
hasNext in interface NsIteratorRDFException - Generic RDF exception.
public java.lang.String next()
throws java.util.NoSuchElementException,
RDFException
NsIterator
next in interface NsIteratorRDFException - Generic RDF exception.
java.util.NoSuchElementException - if there are no more to be returned.
public void remove()
throws java.util.NoSuchElementException,
RDFException
NsIterator
remove in interface NsIteratorRDFException
java.util.NoSuchElementException
public void close()
throws RDFException
NsIteratorSome 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 NsIteratorRDFException - Generic RDF exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||