public class PullEventTracer extends 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(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
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.