EventIterator, PullEventpublic class SingletonEventIterator extends java.lang.Object implements EventIterator
| Constructor | Description |
|---|---|
SingletonEventIterator(PullEvent event) |
Create an iterator over a sequence containing a single pull event
|
| 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 SingletonEventIterator(PullEvent event)
event - the single event. This must not be an EventIteratorpublic PullEvent next() throws XPathException
next in interface EventIteratorXPathException - if a dynamic evaluation error occurspublic boolean isFlatSequence()
isFlatSequence in interface EventIterator