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
index th item in the collection. |
public java.util.Vector getVector()
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.NodeList
index
- Index item into the collection.index
th 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.NodeList
Copyright ? 2001 International Business Machines Corporation, Hewlett-Packard Company. All Rights Reserved.