Package org.apache.jena.rdf.model.impl
Class NsIteratorImpl
- java.lang.Object
-
- org.apache.jena.util.iterator.NiceIterator<T>
-
- org.apache.jena.util.iterator.WrappedIterator<java.lang.String>
-
- org.apache.jena.rdf.model.impl.NsIteratorImpl
-
- All Implemented Interfaces:
java.util.Iterator<java.lang.String>
,IteratorCloseable<java.lang.String>
,Closeable
,NsIterator
,ClosableIterator<java.lang.String>
,ExtendedIterator<java.lang.String>
public class NsIteratorImpl extends WrappedIterator<java.lang.String> implements NsIterator
An NsIterator implementation
-
-
Constructor Summary
Constructors Constructor Description NsIteratorImpl(java.util.Iterator<java.lang.String> iter, java.lang.Object o)
Creates new NsIteratorImpl, ignores _o_
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
nextNs()
Return the next namespace name of the iteration.-
Methods inherited from class org.apache.jena.util.iterator.WrappedIterator
close, close, create, createIteratorIterator, createNoRemove, forTestingOnly_getBase, hasNext, next, ofStream, remove
-
Methods inherited from class org.apache.jena.util.iterator.NiceIterator
andThen, andThen, asList, asSet, emptyIterator, filterDrop, filterKeep, mapWith, removeNext, toList, toSet
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
-
-
-
Method Detail
-
nextNs
public java.lang.String nextNs()
Description copied from interface:NsIterator
Return the next namespace name of the iteration.- Specified by:
nextNs
in interfaceNsIterator
- Returns:
- The next name space URI from the iteration.
-
-