net.sf.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
SequenceIteratorgetAnother()
Get another enumeration of the same nodes
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

getAnother

public SequenceIterator getAnother()
Get another enumeration of the same nodes

step

protected void step()