EventIterator
, PullEvent
public class BracketedDocumentIterator extends java.lang.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 | Description |
---|---|
BracketedDocumentIterator(EventIterator content) |
Constructor
|
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 event in the sequence
|
public BracketedDocumentIterator(EventIterator content)
content
- iterator that delivers the content of the documentpublic PullEvent next() throws XPathException
next
in interface EventIterator
XPathException
- if a dynamic evaluation error occurspublic boolean isFlatSequence()
isFlatSequence
in interface EventIterator