public class DOMNodeListByTagNameImpl
extends java.lang.Object
implements org.w3c.dom.NodeList
NodeList
are accessible via an integral index, starting
from 0.Modifier | Constructor and Description |
---|---|
protected |
DOMNodeListByTagNameImpl(Node first,
java.lang.String tagName)
Instantiates a new DOMNodeListByTagName.
|
Modifier and Type | Method and Description |
---|---|
int |
getLength() |
org.w3c.dom.Node |
item(int index) |
protected void |
preTraverse(Node node)
Traverse the node list.
|
protected DOMNodeListByTagNameImpl(Node first, java.lang.String tagName)
first
- first node.tagName
- tag namepublic org.w3c.dom.Node item(int index)
item
in interface org.w3c.dom.NodeList
NodeList.item(int)
public int getLength()
getLength
in interface org.w3c.dom.NodeList
NodeList.getLength()
protected void preTraverse(Node node)
node
- Node