org.jaxen.dom

Class NamespaceNode.EmptyNodeList

private static class NamespaceNode.EmptyNodeList extends Object implements NodeList

A node list with no members.

This class is necessary for the {@link Node#getChildNodes} method, which must return an empty node list rather than null when there are no children.

Method Summary
intgetLength()
Nodeitem(int index)

Method Detail

getLength

public int getLength()

See Also: NodeList#getLength

item

public Node item(int index)

See Also: NodeList#item