net.sf.saxon.trace

Class TimedTraceListener

Implemented Interfaces:
EventListener, TraceListener

public class TimedTraceListener
extends java.lang.Object
implements TraceListener

A Simple trace listener that writes messages to System.err

Method Summary

void
close()
Called at end
void
endCurrentItem(Item item)
Called after a node of the source tree got processed
void
enter(InstructionInfo instruction, XPathContext context)
Called when an instruction in the stylesheet gets processed
void
leave(InstructionInfo instruction)
Called after an instruction of the stylesheet got processed
void
open()
Called at start
void
startCurrentItem(Item item)
Called when an item becomes current

Method Details

close

public void close()
Called at end
Specified by:
close in interface TraceListener

endCurrentItem

public void endCurrentItem(Item item)
Called after a node of the source tree got processed
Specified by:
endCurrentItem in interface TraceListener

enter

public void enter(InstructionInfo instruction,
                  XPathContext context)
Called when an instruction in the stylesheet gets processed
Specified by:
enter in interface TraceListener

leave

public void leave(InstructionInfo instruction)
Called after an instruction of the stylesheet got processed
Specified by:
leave in interface TraceListener

open

public void open()
Called at start
Specified by:
open in interface TraceListener

startCurrentItem

public void startCurrentItem(Item item)
Called when an item becomes current
Specified by:
startCurrentItem in interface TraceListener