de.pannenleiter.tbug.xmlrpc.client
Class NodeListProxy

java.lang.Object
  |
  +--de.pannenleiter.tbug.xmlrpc.client.NodeListProxy
All Implemented Interfaces:
NodeList

public class NodeListProxy
extends java.lang.Object
implements NodeList

NodeListProxy -- imlements a remote node list


Constructor Summary
NodeListProxy(java.util.Vector base)
           
 
Method Summary
 int getLength()
          The number of nodes in the list.
 Node item(int index)
          Returns the index th item in the collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeListProxy

public NodeListProxy(java.util.Vector base)
Method Detail

item

public Node item(int index)
Description copied from interface: NodeList
Returns the index th item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null .
Specified by:
item in interface NodeList
Following copied from interface: org.w3c.dom.NodeList
Parameters:
index - Index into the collection.
Returns:
The node at the index th position in the NodeList , or null if that is not a valid index.

getLength

public int getLength()
Description copied from interface: NodeList
The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.
Specified by:
getLength in interface NodeList