Interface DOMNodeList

All Superinterfaces:
ExtendedNodeList<DOMNode>, Iterable<DOMNode>, NodeList

public interface DOMNodeList extends ExtendedNodeList<DOMNode>
DOMNode-specific version of NodeList.
  • Method Details

    • item

      DOMNode item(int index)
      Get the node located at the index position in this list.

      For better performance, please use an iterator instead of this method.

      Specified by:
      item in interface ExtendedNodeList<DOMNode>
      Specified by:
      item in interface NodeList
      Returns:
      the node located at the index position in this list, or null if index is less than zero or greater or equal to the number of nodes in this list.