| Modifier | Constructor and Description |
|---|---|
protected |
DOMNodeListImpl(Node parent) |
| 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 DOMNodeListImpl(Node parent)
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()