org.jaxen.dom
Class NamespaceNode.EmptyNodeList

java.lang.Object
  extended byorg.jaxen.dom.NamespaceNode.EmptyNodeList
All Implemented Interfaces:
org.w3c.dom.NodeList
Enclosing class:
NamespaceNode

class NamespaceNode.EmptyNodeList
extends java.lang.Object
implements org.w3c.dom.NodeList

A node list with no members.

This class is necessary for the Node.getChildNodes() method, which must return an empty node list rather than null when there are no children.


Constructor Summary
(package private) NamespaceNode.EmptyNodeList()
           
 
Method Summary
 int getLength()
           
 org.w3c.dom.Node item(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamespaceNode.EmptyNodeList

NamespaceNode.EmptyNodeList()
Method Detail

getLength

public int getLength()
Specified by:
getLength in interface org.w3c.dom.NodeList
See Also:
NodeList.getLength()

item

public org.w3c.dom.Node item(int index)
Specified by:
item in interface org.w3c.dom.NodeList
See Also:
NodeList.item(int)