biz.c24.io.api.data.saxon
Class ComplexElementNode.HomogenousChildElementIterator
java.lang.Object
net.sf.saxon.om.AxisIteratorImpl
biz.c24.io.api.data.saxon.ComplexElementNode.HomogenousChildElementIterator
- All Implemented Interfaces:
- net.sf.saxon.om.AxisIterator, net.sf.saxon.om.SequenceIterator, net.sf.saxon.om.UnfailingIterator
- Enclosing class:
- ComplexElementNode
public class ComplexElementNode.HomogenousChildElementIterator
- extends net.sf.saxon.om.AxisIteratorImpl
Iterator over all the child elements with a given name
Fields inherited from class net.sf.saxon.om.AxisIteratorImpl |
current, position |
Fields inherited from interface net.sf.saxon.om.SequenceIterator |
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD |
Method Summary |
net.sf.saxon.om.SequenceIterator |
getAnother()
Get another iterator over the same sequence of items, positioned at the
start of the sequence. |
net.sf.saxon.om.Item |
next()
Get the next item in the sequence. |
Methods inherited from class net.sf.saxon.om.AxisIteratorImpl |
atomize, current, getProperties, getStringValue, iterateAxis, moveNext, position |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComplexElementNode.HomogenousChildElementIterator
public ComplexElementNode.HomogenousChildElementIterator(ComplexElementNode parent,
DocumentNode root,
String local,
int count)
- Create an iterator over all the child elements sharing a specific name
- Parameters:
parent
- the parent of the required child elementsroot
- the root of the treelocal
- the local name of the required elementscount
- the number of elements with this name that are known to exist
getAnother
public net.sf.saxon.om.SequenceIterator getAnother()
- Get another iterator over the same sequence of items, positioned at the
start of the sequence. It must be possible to call this method at any time, whether
none, some, or all of the items in the original iterator have been read. The method
is non-destructive: it does not change the state of the original iterator.
- Returns:
- a new iterator over the same sequence
next
public net.sf.saxon.om.Item next()
- Get the next item in the sequence.
- Returns:
- the next Item. If there are no more nodes, return null.
C24 Technologies © 2002-2012: All Rights Reserved.