| Modifier | Constructor and Description |
|---|---|
protected |
DOMNodeListByTagNameImpl(Node first,
java.lang.String tagName) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
The number of nodes in the list.
|
Node |
item(int index)
Returns the
indexth item in the collection. |
protected void |
preTraverse(Node node) |
protected DOMNodeListByTagNameImpl(Node first, java.lang.String tagName)
public Node item(int index)
NodeListindexth item in the collection. If
index is greater than or equal to the number of nodes in
the list, this returns null.item in interface NodeListindexth position in the
NodeList, or null if that is not a valid
index.NodeList.item(int)public int getLength()
NodeListlength-1 inclusive.getLength in interface NodeListNodeList.getLength()protected void preTraverse(Node node)