Class NameNodeListImpl

java.lang.Object
org.htmlunit.cyberneko.xerces.dom.DeepNodeListImpl
org.htmlunit.cyberneko.html.dom.NameNodeListImpl
All Implemented Interfaces:
NodeList

public class NameNodeListImpl extends DeepNodeListImpl
This class implements the DOM's NodeList behavior for HTMLDocuemnt.getElementsByName().
See Also:
  • Constructor Details

    • NameNodeListImpl

      public NameNodeListImpl(NodeImpl rootNode, String tagName)
      Constructor.
  • Method Details

    • nextMatchingElementAfter

      protected Node nextMatchingElementAfter(Node current)
      Iterative tree-walker. When you have a Parent link, there's often no need to resort to recursion. NOTE THAT only Element nodes are matched since we're specifically supporting getElementsByTagName().
      Overrides:
      nextMatchingElementAfter in class DeepNodeListImpl
      Parameters:
      current - the current node
      Returns:
      next node