EventIterator
, PullEvent
public class BlockEventIterator extends java.lang.Object implements EventIterator
Constructor | Description |
---|---|
BlockEventIterator(Expression[] children,
XPathContext context) |
Create an EventIterator over the results of evaluating a Block
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
public BlockEventIterator(Expression[] children, XPathContext context)
children
- the sequence of instructions comprising the Blockcontext
- the XPath dynamic contextpublic PullEvent next() throws XPathException
next
in interface EventIterator
XPathException
- if an error occurs retrieving the next itempublic boolean isFlatSequence()
isFlatSequence
in interface EventIterator