public class BlockEventIterator extends Object implements EventIterator
Constructor and Description |
---|
BlockEventIterator(Expression[] children,
XPathContext context)
Create an EventIterator over the results of evaluating a Block
|
Modifier and Type | Method and 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
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.