public class VectorNodeList
extends java.lang.Object
implements org.w3c.dom.NodeList
| Constructor and Description |
|---|
VectorNodeList(java.util.Vector v) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
The number of nodes in the list.
|
java.util.Vector |
getVector() |
org.w3c.dom.Node |
item(int index)
Returns the
indexth item in the collection. |
public java.util.Vector getVector()
public org.w3c.dom.Node item(int index)
indexth 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 item into the collection.indexth position in the
NodeList, or null, if that index is not a
valid.public int getLength()
length-1, inclusive.getLength in interface org.w3c.dom.NodeListCopyright ? 2001 International Business Machines Corporation, Hewlett-Packard Company. All Rights Reserved.