Package org.uddi4j
Class VectorNodeList
- java.lang.Object
-
- org.uddi4j.VectorNodeList
-
- All Implemented Interfaces:
org.w3c.dom.NodeList
public class VectorNodeList extends java.lang.Object implements org.w3c.dom.NodeList
-
-
Constructor Summary
Constructors Constructor Description VectorNodeList(java.util.Vector v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLength()
The number of nodes in the list.java.util.Vector
getVector()
org.w3c.dom.Node
item(int index)
Returns theindex
th item in the collection.
-
-
-
Method Detail
-
getVector
public java.util.Vector getVector()
-
item
public org.w3c.dom.Node item(int index)
Returns theindex
th item in the collection. Ifindex
is greater than or equal to the number of nodes in the list, this returnsnull
.- Specified by:
item
in interfaceorg.w3c.dom.NodeList
- Parameters:
index
- Index item into the collection.- Returns:
- The node at the
index
th position in theNodeList
, ornull
, if that index is not a valid.
-
getLength
public int getLength()
The number of nodes in the list. The range of valid child node indices is 0 tolength-1
, inclusive.- Specified by:
getLength
in interfaceorg.w3c.dom.NodeList
-
-