Package org.joox

Class Elements.ElementIterator

  • All Implemented Interfaces:
    java.util.Iterator<org.w3c.dom.Element>
    Enclosing class:
    Elements

    private class Elements.ElementIterator
    extends java.lang.Object
    implements java.util.Iterator<org.w3c.dom.Element>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int i  
      private org.w3c.dom.Element next  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ElementIterator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private org.w3c.dom.Element findNext()
      Find next element, skipping all non-element nodes
      boolean hasNext()  
      org.w3c.dom.Element 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

      • i

        private int i
      • next

        private org.w3c.dom.Element next
    • Constructor Detail

      • ElementIterator

        private ElementIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<org.w3c.dom.Element>
      • next

        public org.w3c.dom.Element next()
        Specified by:
        next in interface java.util.Iterator<org.w3c.dom.Element>
      • findNext

        private org.w3c.dom.Element findNext()
        Find next element, skipping all non-element nodes
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<org.w3c.dom.Element>