Class XSLTTraceListener
java.lang.Object
net.sf.saxon.trace.AbstractTraceListener
net.sf.saxon.trace.XSLTTraceListener
- All Implemented Interfaces:
EventListener, TraceListener
A Simple trace listener for XSLT that writes messages (by default) to System.err
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the associated CodeInjector to be used at compile time to generate the tracing callsprotected StringGenerate attributes to be included in the opening trace elementprotected Stringtag(int construct) Get the trace element tagname to be used for a particular construct.static StringtagName(int construct) Methods inherited from class AbstractTraceListener
close, endCurrentItem, enter, escape, getOutputDestination, leave, open, setOutputDestination, startCurrentItem
-
Constructor Details
-
XSLTTraceListener
public XSLTTraceListener()
-
-
Method Details
-
getCodeInjector
Description copied from class:AbstractTraceListenerGet the associated CodeInjector to be used at compile time to generate the tracing calls- Overrides:
getCodeInjectorin classAbstractTraceListener
-
getOpeningAttributes
Generate attributes to be included in the opening trace element- Specified by:
getOpeningAttributesin classAbstractTraceListener
-
tag
Get the trace element tagname to be used for a particular construct. Return null for trace events that are ignored by this trace listener.- Specified by:
tagin classAbstractTraceListener
-
tagName
-