com.icl.saxon.trace

Interface TraceListener

All Superinterfaces:
EventListener
Known Implementing Classes:
SaxonEventMulticaster, SimpleTraceListener

public interface TraceListener
extends EventListener

To get trace events, an application can add instances of this interface to a StyleSheetInstance

Method Summary

void
close()
Called at end
void
enter(NodeInfo element, Context context)
Called when a node in the stylesheet gets processed
void
enterSource(NodeHandler handler, Context context)
Called when a node of the source tree gets processed
void
leave(NodeInfo element, Context context)
Called after an element of the stylesheet got processed
void
leaveSource(NodeHandler handler, Context context)
Called after a node of the source tree got processed
void
open()
Called at start
void
toplevel(NodeInfo element)
Called for all top level elements

Method Details

close

public void close()
Called at end

enter

public void enter(NodeInfo element,
                  Context context)
Called when a node in the stylesheet gets processed

enterSource

public void enterSource(NodeHandler handler,
                        Context context)
Called when a node of the source tree gets processed

leave

public void leave(NodeInfo element,
                  Context context)
Called after an element of the stylesheet got processed

leaveSource

public void leaveSource(NodeHandler handler,
                        Context context)
Called after a node of the source tree got processed

open

public void open()
Called at start

toplevel

public void toplevel(NodeInfo element)
Called for all top level elements