public class NodeListImpl
extends java.lang.Object
implements org.w3c.dom.NodeList
NodeList interface.| Modifier and Type | Field and Description |
|---|---|
private org.w3c.dom.Node[] |
nodelist |
| Constructor and Description |
|---|
NodeListImpl()
Constructor
|
NodeListImpl(org.w3c.dom.DocumentFragment fragment,
java.lang.String rootName)
Construct a NodeList by copying.
|
NodeListImpl(org.w3c.dom.Node[] nodes)
Constructor
|
NodeListImpl(org.w3c.dom.NodeList list)
Construct a NodeList by copying.
|
public NodeListImpl(org.w3c.dom.NodeList list)
public NodeListImpl(org.w3c.dom.Node[] nodes)
public NodeListImpl()
public NodeListImpl(org.w3c.dom.DocumentFragment fragment,
java.lang.String rootName)
public void addNode(org.w3c.dom.Node node)
public org.w3c.dom.Node item(int index)
index th 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 org.w3c.dom.NodeListindex - Index into the collection.index th position in the
NodeList , or null if that is not a valid
index.public int getLength()
length-1 inclusive.getLength in interface org.w3c.dom.NodeList