net.sf.saxon.evpull
Class EmptyEventIterator
java.lang.Object
net.sf.saxon.evpull.EmptyEventIterator
- EventIterator, PullEvent
public class EmptyEventIterator
extends java.lang.Object
This class is an EventIterator over an empty sequence. It is a singleton class.
getInstance
public static EmptyEventIterator getInstance()
Get the singular instance of this class
isFlatSequence
public boolean isFlatSequence()
Determine whether the EventIterator returns a flat sequence of events, or whether it can return
nested event iterators
- isFlatSequence in interface EventIterator
- true if the next() method is guaranteed never to return an EventIterator