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 and Description |
---|
BracketedDocumentIterator(EventIterator content)
Constructor
|
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 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
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.