net.sf.saxon.tinytree
final class SiblingEnumeration extends AxisIteratorImpl implements LookaheadIterator
Constructor Summary | |
---|---|
SiblingEnumeration(TinyTree tree, TinyNodeImpl node, NodeTest nodeTest, boolean getChildren)
Return an enumeration over children or siblings of the context node |
Method Summary | |
---|---|
SequenceIterator | getAnother()
Get another enumeration of the same nodes |
int | getProperties() |
boolean | hasNext()
Test whether there are any more nodes to come. |
Item | next() |
Parameters: tree The TinyTree containing the context node node The context node, the start point for the iteration nodeTest Test that the selected nodes must satisfy, or null indicating that all nodes are selected getChildren True if children of the context node are to be returned, false if following siblings are required
Returns: true if there are more items in the sequence