Class NameNodeListImpl

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

public class NameNodeListImpl extends org.apache.xerces.dom.DeepNodeListImpl implements NodeList
This class implements the DOM's NodeList behavior for HTMLDocuemnt.getElementsByName().

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.
Since:
PR-DOM-Level-1-19980818.
Version:
$Id: NameNodeListImpl.java 447255 2006-09-18 05:36:42Z mrglavas $
See Also:
  • DeepNodeListImpl
  • Constructor Details

    • NameNodeListImpl

      public NameNodeListImpl(org.apache.xerces.dom.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 org.apache.xerces.dom.DeepNodeListImpl