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:
TraceListener
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
detail, 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 Constructor Description XSLTTraceListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getOpeningAttributes()
Generate attributes to be included in the opening trace elementprotected boolean
isApplicable(Traceable info)
protected String
tag(Traceable info)
Get the trace element tagname to be used for a particular construct.static String
tagName(Traceable info)
-
Methods inherited from class net.sf.saxon.trace.AbstractTraceListener
checkpoint, close, endCurrentItem, endRuleSearch, enter, escape, getLocation, getOutputDestination, leave, level, open, recover, setLevelOfDetail, setOutputDestination, spaces, startCurrentItem, startRuleSearch
-
Methods inherited from class net.sf.saxon.lib.StandardDiagnostics
abbreviateLocationURI, abbreviateLocationURIDefault, expandSpecialCharacters, formatListOfOffendingNodes, getInstructionName, getInstructionNameDefault, getLocationMessageText, logStackTrace, showOriginator, wordWrap
-
-
-
-
Method Detail
-
isApplicable
protected boolean isApplicable(Traceable info)
- Overrides:
isApplicable
in classAbstractTraceListener
-
getOpeningAttributes
protected String getOpeningAttributes()
Generate attributes to be included in the opening trace element- Overrides:
getOpeningAttributes
in classAbstractTraceListener
-
tag
protected String tag(Traceable info)
Get the trace element tagname to be used for a particular construct. Return null for trace events that are ignored by this trace listener.- Overrides:
tag
in classAbstractTraceListener
- Parameters:
info
- trace information
-
-