Class DOMUtils.NodeSet

  • All Implemented Interfaces:
    java.lang.Iterable<org.w3c.dom.Node>, java.util.Collection<org.w3c.dom.Node>, java.util.Set<org.w3c.dom.Node>
    Enclosing class:
    DOMUtils

    static class DOMUtils.NodeSet
    extends java.util.AbstractSet<org.w3c.dom.Node>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.w3c.dom.NodeList nl  
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeSet​(org.w3c.dom.NodeList nl)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<org.w3c.dom.Node> iterator()  
      int size()  
      • Methods inherited from class java.util.AbstractSet

        equals, hashCode, removeAll
      • Methods inherited from class java.util.AbstractCollection

        add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Set

        add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, spliterator, toArray, toArray
    • Field Detail

      • nl

        private org.w3c.dom.NodeList nl
    • Constructor Detail

      • NodeSet

        public NodeSet​(org.w3c.dom.NodeList nl)
    • Method Detail

      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<org.w3c.dom.Node>
        Specified by:
        size in interface java.util.Set<org.w3c.dom.Node>
        Specified by:
        size in class java.util.AbstractCollection<org.w3c.dom.Node>
      • iterator

        public java.util.Iterator<org.w3c.dom.Node> iterator()
        Specified by:
        iterator in interface java.util.Collection<org.w3c.dom.Node>
        Specified by:
        iterator in interface java.lang.Iterable<org.w3c.dom.Node>
        Specified by:
        iterator in interface java.util.Set<org.w3c.dom.Node>
        Specified by:
        iterator in class java.util.AbstractCollection<org.w3c.dom.Node>