Class AbstractDomNodeList<E extends DomNode>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.htmlunit.html.AbstractDomNodeList<E>
Type Parameters:
E - The element type
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, List<E>, SequencedCollection<E>, DomNodeList<E>, NodeList

public abstract class AbstractDomNodeList<E extends DomNode> extends AbstractList<E> implements DomNodeList<E>, Serializable
A generic DomNodeList implementation of NodeList.
See Also:
  • Constructor Details Link icon

    • AbstractDomNodeList Link icon

      public AbstractDomNodeList(DomNode node)
      Creates a new node list. The elements will be "calculated" using the specified XPath expression applied on the specified node.
      Parameters:
      node - the node to serve as root for the XPath expression
  • Method Details Link icon