|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.evpull.EventIteratorOverSequence
public class EventIteratorOverSequence
This class maps a SequenceIterator to an EventIterator, by simply returning the items in the sequence as PullEvents.
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventIteratorOverSequence(SequenceIterator base)
base
- the SequenceIterator to be wrappedMethod Detail |
---|
public PullEvent next() throws XPathException
next
in interface EventIterator
XPathException
- in case of a dynamic errorpublic boolean isFlatSequence()
isFlatSequence
in interface EventIterator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |