net.sf.saxon.tinytree

Class PrecedingSiblingEnumeration

final class PrecedingSiblingEnumeration extends AxisIteratorImpl

This class supports the preceding-sibling axis. The starting node must be an element, text node, comment, or processing instruction: to ensure this, construct the enumeration using NodeInfo#getEnumeration()
Constructor Summary
PrecedingSiblingEnumeration(TinyTree doc, TinyNodeImpl node, NodeTest nodeTest)
Method Summary
SequenceIteratorgetAnother()
Get another enumeration of the same nodes
Itemnext()

Constructor Detail

PrecedingSiblingEnumeration

PrecedingSiblingEnumeration(TinyTree doc, TinyNodeImpl node, NodeTest nodeTest)

Method Detail

getAnother

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

next

public Item next()