Package org.dom4j.io

Class STAXEventWriter.NamespaceIterator

  • All Implemented Interfaces:
    java.util.Iterator<javax.xml.stream.events.Namespace>
    Enclosing class:
    STAXEventWriter

    private class STAXEventWriter.NamespaceIterator
    extends java.lang.Object
    implements java.util.Iterator<javax.xml.stream.events.Namespace>
    Internal Iteratorimplementation used to pass DOM4J Namespaces to the stream.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Iterator<Namespace> iter  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      javax.xml.stream.events.Namespace next()  
      void remove()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Field Detail

      • iter

        private java.util.Iterator<Namespace> iter
    • Constructor Detail

      • NamespaceIterator

        public NamespaceIterator​(java.util.Iterator<Namespace> iter)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<javax.xml.stream.events.Namespace>
      • next

        public javax.xml.stream.events.Namespace next()
        Specified by:
        next in interface java.util.Iterator<javax.xml.stream.events.Namespace>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<javax.xml.stream.events.Namespace>