Package org.apache.jena.rdf.model
Interface NsIterator
-
- All Superinterfaces:
ClosableIterator<java.lang.String>
,Closeable
,ExtendedIterator<java.lang.String>
,java.util.Iterator<java.lang.String>
- All Known Implementing Classes:
NsIteratorImpl
public interface NsIterator extends ExtendedIterator<java.lang.String>
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
nextNs()
Return the next namespace name of the iteration.-
Methods inherited from interface org.apache.jena.util.iterator.ClosableIterator
close
-
Methods inherited from interface org.apache.jena.util.iterator.ExtendedIterator
andThen, filterDrop, filterKeep, forEach, mapWith, nextOptional, removeNext, toList, toSet
-
-