com.icl.saxon.tinytree

Class NamespaceEnumeration

final class NamespaceEnumeration extends Object implements AxisEnumeration

Enumeration of the namespace nodes of an element
Constructor Summary
protected NamespaceEnumeration(TinyElementImpl node, NodeTest nodeTest)
Constructor.
Method Summary
intgetLastPosition()
Get the last position, that is the number of nodes in the enumeration
booleanhasMoreElements()
booleanisPeer()
booleanisReverseSorted()
booleanisSorted()
NodeInfonextElement()

Constructor Detail

NamespaceEnumeration

protected NamespaceEnumeration(TinyElementImpl node, NodeTest nodeTest)
Constructor. Note: this constructor will only be called if the owning node is an element. Otherwise, an EmptyEnumeration will be returned

Method Detail

getLastPosition

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

hasMoreElements

public boolean hasMoreElements()

isPeer

public boolean isPeer()

isReverseSorted

public boolean isReverseSorted()

isSorted

public boolean isSorted()

nextElement

public NodeInfo nextElement()