com.hp.hpl.jena.rdf.model
Interface NsIterator
- All Superinterfaces:
- ClosableIterator, ExtendedIterator, Iterator
public interface NsIterator
- extends ExtendedIterator
An iterator which returns namespace URI's.
RDF iterators are standard Java iterators, except that they
have an extra method that returns a specifically typed object,
in this case a String representing a namespace URI, and have
a close()
method that should be called to free
resources if the application does not complete the iteration.
- Version:
- Release='$Name: $' Revision='$Revision: 1.4 $' Date='$Date: 2003/08/27 13:05:52 $'
- Author:
- bwm
Method Summary |
String |
nextNs()
Return the next namespace name of the iteration. |
nextNs
String nextNs()
- Return the next namespace name of the iteration.
- Returns:
- The next name space URI from the iteration.
- Throws:
NoSuchElementException
- if there are no more to be returned.
Copyright © 2000, 2001, 2002, 2003, 2004 Hewlett-Packard Development Company, LP