net.sf.saxon.pull

Class PullTracer

public class PullTracer extends PullFilter

PullTracer is a PullFilter that can be inserted into a pull pipeline for diagnostic purposes. It traces all the events as they are read, writing details to System.err
Constructor Summary
PullTracer(PullProvider base)
Create a PullTracer
Method Summary
intnext()
Get the next event.

Constructor Detail

PullTracer

public PullTracer(PullProvider base)
Create a PullTracer

Parameters: base the PullProvider to which requests are to be passed

Method Detail

next

public int next()
Get the next event. This implementation gets the next event from the underlying PullProvider, copies it to the branch Receiver, and then returns the event to the caller.

Returns: an integer code indicating the type of event. The code PullTracer is returned at the end of the sequence.