com.icl.saxon.tree

Class PrecedingEnumeration

final class PrecedingEnumeration extends TreeEnumeration

Field Summary
NodeImplnextAncestor
Constructor Summary
PrecedingEnumeration(NodeImpl node, NodeTest nodeTest)
Method Summary
protected booleanconforms(NodeImpl node)
Special code to skip the ancestors of the start node
intgetLastPosition()
Get the last position, that is the number of nodes in the enumeration
protected voidstep()

Field Detail

nextAncestor

NodeImpl nextAncestor

Constructor Detail

PrecedingEnumeration

public PrecedingEnumeration(NodeImpl node, NodeTest nodeTest)

Method Detail

conforms

protected boolean conforms(NodeImpl node)
Special code to skip the ancestors of the start node

getLastPosition

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

step

protected void step()