org.jaxen.dom

Class NamespaceNode.EmptyNodeList

Enclosing Class:
NamespaceNode
Implemented Interfaces:
NodeList

private static class NamespaceNode.EmptyNodeList
extends java.lang.Object
implements 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.

Method Summary

int
getLength()
Node
item(int index)

Method Details

getLength

public int getLength()
See Also:
NodeList.getLength

item

public Node item(int index)
See Also:
NodeList.item