public class PullEventTracer extends java.lang.Object implements EventIterator
Constructor and Description |
---|
PullEventTracer(EventIterator base,
Configuration config)
Create a tracer for pull events
|
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
|
static void |
main(java.lang.String[] args)
Main method for testing only
|
PullEvent |
next()
Get the next event in the sequence
|
public PullEventTracer(EventIterator base, Configuration config)
base
- the event iterator whose events are to be tracedconfig
- the Saxon configurationpublic PullEvent next() throws XPathException
next
in interface EventIterator
XPathException
- if a dynamic evaluation error occurspublic boolean isFlatSequence()
isFlatSequence
in interface EventIterator
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- not usedjava.lang.Exception