BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


weblogic.apache.html.dom
Class NameNodeListImpl

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

public class NameNodeListImpl
extends DeepNodeListImpl
implements NodeList

This class implements the DOM's NodeList behavior for HTMLDocument.getElementsByName().

This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.

Since:
PR-DOM-Level-1-19980818.
See Also:
DeepNodeListImpl

Field Summary
 
Fields inherited from class weblogic.apache.xerces.dom.DeepNodeListImpl
changes, enableNS, nodes, nsName, rootNode, tagName
 
Constructor Summary
NameNodeListImpl(NodeImpl rootNode, String tagName)
          Constructor.
 
Method Summary
protected  Node nextMatchingElementAfter(Node current)
          Iterative tree-walker.
 
Methods inherited from class weblogic.apache.xerces.dom.DeepNodeListImpl
getLength, item
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.NodeList
getLength, item
 

Constructor Detail

NameNodeListImpl

public NameNodeListImpl(NodeImpl rootNode,
                        String tagName)
Constructor.

Method Detail

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

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.