Package org.htmlunit.cyberneko.html.dom
Class NameNodeListImpl
- java.lang.Object
-
- org.htmlunit.cyberneko.xerces.dom.DeepNodeListImpl
-
- org.htmlunit.cyberneko.html.dom.NameNodeListImpl
-
- All Implemented Interfaces:
org.w3c.dom.NodeList
public class NameNodeListImpl extends DeepNodeListImpl
This class implements the DOM's NodeList behavior for HTMLDocuemnt.getElementsByName().- See Also:
DeepNodeListImpl
-
-
Field Summary
-
Fields inherited from class org.htmlunit.cyberneko.xerces.dom.DeepNodeListImpl
rootNode_, tagName_
-
-
Constructor Summary
Constructors Constructor Description NameNodeListImpl(NodeImpl rootNode, java.lang.String tagName)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.w3c.dom.Node
nextMatchingElementAfter(org.w3c.dom.Node current)
Iterative tree-walker.-
Methods inherited from class org.htmlunit.cyberneko.xerces.dom.DeepNodeListImpl
getLength, item
-
-
-
-
Constructor Detail
-
NameNodeListImpl
public NameNodeListImpl(NodeImpl rootNode, java.lang.String tagName)
Constructor.
-
-
Method Detail
-
nextMatchingElementAfter
protected org.w3c.dom.Node nextMatchingElementAfter(org.w3c.dom.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 classDeepNodeListImpl
- Parameters:
current
- the current node- Returns:
- next node
-
-