Package net.sf.saxon.trace
Class XSLTTraceListener
java.lang.Object
net.sf.saxon.lib.StandardDiagnostics
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
-
Field Summary
Fields inherited from class net.sf.saxon.trace.AbstractTraceListener
indent, out
Fields inherited from class net.sf.saxon.lib.StandardDiagnostics
MAX_MESSAGE_LENGTH, MAX_MESSAGE_LINE_LENGTH, MIN_MESSAGE_LINE_LENGTH, TARGET_MESSAGE_LINE_LENGTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the associated CodeInjector to be used at compile time to generate the tracing callsprotected String
Generate attributes to be included in the opening trace elementprotected String
Get the trace element tagname to be used for a particular construct.static String
Methods inherited from class net.sf.saxon.trace.AbstractTraceListener
close, endCurrentItem, endRuleSearch, enter, escape, getOutputDestination, isApplicable, leave, level, open, setLevelOfDetail, setOutputDestination, spaces, startCurrentItem, startRuleSearch
Methods inherited from class net.sf.saxon.lib.StandardDiagnostics
abbreviateLocationURI, abbreviateLocationURIDefault, expandSpecialCharacters, formatListOfOffendingNodes, getInstructionName, getInstructionNameDefault, getLocationMessageText, printStackTrace, showOriginator, wordWrap
-
Constructor Details
-
XSLTTraceListener
public XSLTTraceListener()
-
-
Method Details
-
getCodeInjector
Description copied from class:AbstractTraceListener
Get the associated CodeInjector to be used at compile time to generate the tracing calls- Overrides:
getCodeInjector
in classAbstractTraceListener
-
getOpeningAttributes
Generate attributes to be included in the opening trace element- Specified by:
getOpeningAttributes
in 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:
tag
in classAbstractTraceListener
- Parameters:
info
-
-
tagName
-