net.sf.saxon.trace
public abstract class AbstractTraceListener extends Object implements TraceListener
Method Summary | |
---|---|
void | close()
Called at end |
void | endCurrentItem(Item item)
Called after a node of the source tree got processed |
void | enter(InstructionInfo info, XPathContext context)
Called when an instruction in the stylesheet gets processed |
String | escape(String in)
Escape a string for XML output (in an attribute delimited by double quotes).
|
protected abstract String | getOpeningAttributes() |
PrintStream | getOutputDestination()
Get the output destination |
void | leave(InstructionInfo info)
Called after an instruction of the stylesheet got processed |
void | open()
Called at start |
void | setOutputDestination(PrintStream stream)
Set the output destination (default is System.err) |
void | startCurrentItem(Item item)
Called when an item becomes the context item |
protected abstract String | tag(int construct) |
Parameters: stream the output destination for tracing output