Oracle® XML Java API Reference
Release 1 (10.1)

B12024-01

oracle.xdb.dom
Class XDBNodeList

java.lang.Object
  |
  +--oracle.xdb.dom.XDBNodeList
All Implemented Interfaces:
NodeList

public class XDBNodeList
extends java.lang.Object
implements NodeList

This class implements the W3C NodeList interface


Method Summary
 int getLength()
          The number of nodes in the list.
 Node 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

 

Method Detail

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

item

public Node item(int index)
Description copied from interface: NodeList
Returns the indexth 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
Returns:
The node at the indexth position in the NodeList, or null if that is not a valid index.

Oracle® XML Java API Reference
Release 1 (10.1)

B12024-01

Copyright © 2003, Oracle. All Rights Reserved.