com.icl.saxon.tinytree

Class FollowingEnumeration

final class FollowingEnumeration extends Object implements AxisEnumeration

Enumerate the following axis starting at a given node. The start node must not be a namespace or attribute node.
Field Summary
booleanincludeDescendants
intlast
Constructor Summary
FollowingEnumeration(TinyDocumentImpl doc, TinyNodeImpl node, NodeTest nodeTest, boolean includeDescendants)
Method Summary
intgetLastPosition()
Get the last position, that is the number of nodes in the enumeration
booleanhasMoreElements()
booleanisPeer()
booleanisReverseSorted()
booleanisSorted()
NodeInfonextElement()

Field Detail

includeDescendants

boolean includeDescendants

last

int last

Constructor Detail

FollowingEnumeration

public FollowingEnumeration(TinyDocumentImpl doc, TinyNodeImpl node, NodeTest nodeTest, boolean includeDescendants)

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()