EventIterator
, PullEvent
public class TracingEventIterator extends java.lang.Object implements EventIterator
Constructor | Description |
---|---|
TracingEventIterator(EventIterator base) |
Create an event iterator that traces all events received from the base sequence, and returns
them unchanged
|
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 TracingEventIterator(EventIterator base)
base
- the iterator over the base sequencepublic boolean isFlatSequence()
isFlatSequence
in interface EventIterator
public PullEvent next() throws XPathException
next
in interface EventIterator
XPathException
- if a dynamic evaluation error occurs