com.icl.saxon.trace

Interface TraceListener

public interface TraceListener extends EventListener

To get trace events, an application can add instances of this interface to a StyleSheetInstance
Method Summary
voidclose()
Called at end
voidenter(NodeInfo element, Context context)
Called when a node in the stylesheet gets processed
voidenterSource(NodeHandler handler, Context context)
Called when a node of the source tree gets processed
voidleave(NodeInfo element, Context context)
Called after an element of the stylesheet got processed
voidleaveSource(NodeHandler handler, Context context)
Called after a node of the source tree got processed
voidopen()
Called at start
voidtoplevel(NodeInfo element)
Called for all top level elements

Method Detail

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