net.sf.saxon.evpull
Class BlockEventIterator
java.lang.Objectnet.sf.saxon.evpull.BlockEventIterator
- EventIterator, PullEvent
public class BlockEventIterator
extends java.lang.Object
Iterate over the instructions in a Block, concatenating the result of each instruction
into a single combined sequence.
boolean | isFlatSequence()- Determine whether the EventIterator returns a flat sequence of events, or whether it can return
nested event iterators
|
PullEvent | next()- Get the next item in the sequence.
|
BlockEventIterator
public BlockEventIterator(Expression[] children,
XPathContext context) Create an EventIterator over the results of evaluating a Block
children - the sequence of instructions comprising the Blockcontext - the XPath dynamic context
isFlatSequence
public boolean isFlatSequence()
Determine whether the EventIterator returns a flat sequence of events, or whether it can return
nested event iterators
- isFlatSequence in interface EventIterator
- true if the next() method is guaranteed never to return an EventIterator