Package net.sf.saxon.trace
Class XSLTTraceListener
- java.lang.Object
-
- net.sf.saxon.trace.AbstractTraceListener
-
- net.sf.saxon.trace.XSLTTraceListener
-
- All Implemented Interfaces:
EventListener,TraceListener,TraceListener2
public class XSLTTraceListener extends AbstractTraceListener
A Simple trace listener for XSLT that writes messages (by default) to System.err
-
-
Field Summary
-
Fields inherited from class net.sf.saxon.trace.AbstractTraceListener
indent, out
-
-
Constructor Summary
Constructors Constructor Description XSLTTraceListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeInjectorgetCodeInjector()Get the associated CodeInjector to be used at compile time to generate the tracing callsprotected StringgetOpeningAttributes()Generate 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 net.sf.saxon.trace.AbstractTraceListener
close, endCurrentItem, endRuleSearch, enter, escape, getOutputDestination, leave, level, open, setLevelOfDetail, setOutputDestination, spaces, startCurrentItem, startRuleSearch
-
-
-
-
Method Detail
-
getCodeInjector
public CodeInjector getCodeInjector()
Description copied from class:AbstractTraceListenerGet the associated CodeInjector to be used at compile time to generate the tracing calls- Overrides:
getCodeInjectorin classAbstractTraceListener
-
getOpeningAttributes
protected String getOpeningAttributes()
Generate attributes to be included in the opening trace element- Specified by:
getOpeningAttributesin classAbstractTraceListener
-
tag
protected String tag(int construct)
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
public static String tagName(int construct)
-
-