Constructor and Description |
---|
DOMNodeList(List<Node> extent)
Construct an node list that wraps a supplied list of DOM Nodes.
|
Modifier and Type | Method and Description |
---|---|
int |
getLength()
return the number of nodes in the list (DOM method)
|
Node |
item(int index)
Return the n'th item in the list (DOM method)
|
public int getLength()
public Node item(int index)
item
in interface NodeList
ClassCastException
- if the item is not a DOM Node