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:
NodeList
This class implements the DOM's NodeList behavior for
HTMLDocuemnt.getElementsByName().
- See Also:
-
Field Summary
Fields inherited from class org.htmlunit.cyberneko.xerces.dom.DeepNodeListImpl
rootNode_, tagName_
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Node
nextMatchingElementAfter
(Node current) Iterative tree-walker.Methods inherited from class org.htmlunit.cyberneko.xerces.dom.DeepNodeListImpl
getLength, item
-
Constructor Details
-
NameNodeListImpl
Constructor.
-
-
Method Details
-
nextMatchingElementAfter
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
-