com.plumtree.openfoundation.xml.dom
Class XPNodeList

java.lang.Object
  extended bycom.plumtree.openfoundation.xml.dom.XPNodeList

public class XPNodeList
extends java.lang.Object

The XPNodeList class is a wrapper for objects implementing org.w3c.dom.NodeList interface. Please refer to NodeList (Java 2 Platform SE v1.4.2) for detail information.

Author:
djc

Constructor Summary
protected XPNodeList(org.w3c.dom.NodeList currNodeList)
          Creates a new XPNodeList object.
 
Method Summary
 int GetLength()
          The number of nodes in the list.
 org.w3c.dom.NodeList GetUnderlyingObject()
          Retrieve the underlying NodeList object.
 XPNode Item(int index)
          Returns the indexth item in the collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPNodeList

protected XPNodeList(org.w3c.dom.NodeList currNodeList)
Creates a new XPNodeList object.

Parameters:
currNodeList - - underlying node list
Method Detail

GetLength

public int GetLength()
The number of nodes in the list.

Returns:
Length of nodelist

GetUnderlyingObject

public org.w3c.dom.NodeList GetUnderlyingObject()
Retrieve the underlying NodeList object.

Returns:
Underlying node list

Item

public XPNode Item(int index)
Returns the indexth item in the collection.

Parameters:
index - Index into the collection.
Returns:
Item at index position


Copyright 2002, 2003, 2004 Plumtree Software Inc. All Rights Reserved.