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
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, String tagName)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NodenextMatchingElementAfter(Node current)Iterative tree-walker.-
Methods inherited from class org.htmlunit.cyberneko.xerces.dom.DeepNodeListImpl
getLength, item
-
-
-
-
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:
nextMatchingElementAfterin classDeepNodeListImpl- Parameters:
current- the current node- Returns:
- next node
-
-