Class NsIteratorImpl

All Implemented Interfaces:
Iterator<String>, org.apache.jena.atlas.iterator.IteratorCloseable<String>, org.apache.jena.atlas.lib.Closeable, NsIterator, ClosableIterator<String>, ExtendedIterator<String>

public class NsIteratorImpl extends WrappedIterator<String> implements NsIterator
An NsIterator implementation
  • Constructor Details

    • NsIteratorImpl

      public NsIteratorImpl(Iterator<String> iter, Object o)
      Creates new NsIteratorImpl, ignores _o_
  • Method Details

    • nextNs

      public String nextNs()
      Description copied from interface: NsIterator
      Return the next namespace name of the iteration.
      Specified by:
      nextNs in interface NsIterator
      Returns:
      The next name space URI from the iteration.