net.sf.saxon.evpull
public class BlockEventIterator extends Object implements EventIterator
Constructor Summary | |
---|---|
BlockEventIterator(Expression[] children, XPathContext context)
Create an EventIterator over the results of evaluating a Block |
Method Summary | |
---|---|
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.
|
Parameters: children the sequence of instructions comprising the Block context the XPath dynamic context
Returns: true if the next() method is guaranteed never to return an EventIterator
Returns: the next item, or null if there are no more items.
Throws: XPathException if an error occurs retrieving the next item