public class DescendantIterator extends java.lang.Object implements net.sf.saxon.tree.iter.AxisIterator
| Modifier and Type | Class and Description |
|---|---|
static class |
DescendantIterator.StartWith
Enum defines starting node for iterator.
|
| Modifier and Type | Field and Description |
|---|---|
private net.sf.saxon.tree.iter.AxisIterator |
descendantEnum
Descendant axis iterator.
|
private java.util.Queue<net.sf.saxon.om.NodeInfo> |
queue
Queue for sibling nodes.
|
| Constructor and Description |
|---|
DescendantIterator(net.sf.saxon.om.NodeInfo start,
DescendantIterator.StartWith startWith)
Create an iterator over the "descendant" axis.
|
| Modifier and Type | Method and Description |
|---|---|
net.sf.saxon.om.NodeInfo |
next()
Get the next item in the sequence.
|
private final java.util.Queue<net.sf.saxon.om.NodeInfo> queue
private net.sf.saxon.tree.iter.AxisIterator descendantEnum
public DescendantIterator(net.sf.saxon.om.NodeInfo start, DescendantIterator.StartWith startWith)
start - the initial context node.startWith - mode of the iterator, see DescendantIterator.StartWith.public net.sf.saxon.om.NodeInfo next()
next in interface net.sf.saxon.om.SequenceIteratornext in interface net.sf.saxon.tree.iter.AxisIteratornext in interface net.sf.saxon.tree.iter.UnfailingIteratorCopyright © 2001-2022. All Rights Reserved.