public class SingletonEventIterator extends Object implements EventIterator
| Constructor and Description |
|---|
SingletonEventIterator(PullEvent event)
Create an iterator over a sequence containing a single pull event
|
| 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 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 EventIteratorCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.