com.caucho.xml
Class QEmptyNodeList

java.lang.Object
  |
  +--com.caucho.xml.QEmptyNodeList
All Implemented Interfaces:
NodeList

public class QEmptyNodeList
extends java.lang.Object
implements NodeList

QAbstractNode is an abstract implementation for any DOM node.


Constructor Summary
QEmptyNodeList()
           
 
Method Summary
 int getLength()
          Returns the number of children.
 Node item(int index)
          Returns the child with the given index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QEmptyNodeList

public QEmptyNodeList()
Method Detail

item

public Node item(int index)
Returns the child with the given index.
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 indexth position in the NodeList, or null if that is not a valid index.

getLength

public int getLength()
Returns the number of children.
Specified by:
getLength in interface NodeList