com.icl.saxon.tree

Class NamespaceEnumeration

final class NamespaceEnumeration extends TreeEnumeration

Constructor Summary
NamespaceEnumeration(NodeImpl node, NodeTest nodeTest)
Method Summary
protected booleanconforms(NodeInfo node)
Test whether a node conforms.
intgetLastPosition()
Get the last position, that is the number of nodes in the enumeration
booleanisPeer()
booleanisSorted()
voidstep()

Constructor Detail

NamespaceEnumeration

public NamespaceEnumeration(NodeImpl node, NodeTest nodeTest)

Method Detail

conforms

protected boolean conforms(NodeInfo node)
Test whether a node conforms. Reject a node with prefix="", uri="" since this represents a namespace undeclaration and not a true namespace node.

getLastPosition

public int getLastPosition()
Get the last position, that is the number of nodes in the enumeration

isPeer

public boolean isPeer()

isSorted

public boolean isSorted()

step

public void step()