net.sf.saxon.evpull
public class EventIteratorOverSequence extends Object implements EventIterator
| Field Summary | |
|---|---|
| SequenceIterator | base |
| Constructor Summary | |
|---|---|
| EventIteratorOverSequence(SequenceIterator base)
Create an EventIterator that wraps a given SequenceIterator | |
| 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 PullEvent in the sequence |
Parameters: base the SequenceIterator to be wrapped
Returns: true if the next() method is guaranteed never to return an EventIterator
Returns: the next PullEvent
Throws: XPathException in case of a dynamic error