| java.lang.Object net.sf.saxon.trace.AbstractTraceListener
All known Subclasses: net.sf.saxon.trace.XQueryTraceListener, net.sf.saxon.trace.XSLTTraceListener,
AbstractTraceListener | abstract public class AbstractTraceListener implements TraceListener(Code) | | This is the standard trace listener used when the -T option is specified on the command line.
There are two variants, represented by subclasses: one for XSLT, and one for XQuery. The two variants
differ in that they present the trace output in terms of constructs used in the relevant host language.
|
close | public void close()(Code) | | Called at end
|
endCurrentItem | public void endCurrentItem(Item item)(Code) | | Called after a node of the source tree got processed
|
escape | public String escape(String in)(Code) | | Escape a string for XML output (in an attribute delimited by double quotes).
This method also collapses whitespace (since the value may be an XPath expression that
was originally written over several lines).
|
getOpeningAttributes | abstract protected String getOpeningAttributes()(Code) | | |
getOutputDestination | public PrintStream getOutputDestination()(Code) | | Get the output destination
|
leave | public void leave(InstructionInfo info)(Code) | | Called after an instruction of the stylesheet got processed
|
open | public void open()(Code) | | Called at start
|
setOutputDestination | public void setOutputDestination(PrintStream stream)(Code) | | Set the output destination (default is System.err)
Parameters: stream - the output destination for tracing output |
startCurrentItem | public void startCurrentItem(Item item)(Code) | | Called when an item becomes the context item
|
|
|