public abstract class AxisIter extends NodeIter implements Iterable<ANode>
Iterable
interface, which is why all of its
values can also be retrieved via enhanced for(for-each) loops. Note, however, that
using the next()
method will give you better performance.
Important: to improve performance, this iterator may return the same node
instance with updated values. If resulting nodes are to be further processed,
they need to be finalized via ANode.finish()
.Copyright © 2005–2015 BaseX Team. All rights reserved.