net.sf.saxon.evpull
public class BracketedDocumentIterator extends Object implements EventIterator
This class does not normalize the content (for example by merging adjacent text nodes). That is the job of the ComplexContentProcessor.
| Constructor Summary | |
|---|---|
| BracketedDocumentIterator(EventIterator content)
Constructor | |
| 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 event in the sequence |
Parameters: content iterator that delivers the content of the document
Returns: true if the next() method is guaranteed never to return an EventIterator
Returns: the next event, or null when the sequence is exhausted
Throws: net.sf.saxon.trans.XPathException if a dynamic evaluation error occurs