Package net.sf.saxon.trace
Class XQueryTraceListener
- java.lang.Object
-
- net.sf.saxon.trace.AbstractTraceListener
-
- net.sf.saxon.trace.XQueryTraceListener
-
- All Implemented Interfaces:
java.util.EventListener
,TraceListener
public class XQueryTraceListener extends AbstractTraceListener
A Simple trace listener for XQuery that writes messages (by default) to System.err
-
-
Constructor Summary
Constructors Constructor Description XQueryTraceListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getOpeningAttributes()
Generate attributes to be included in the opening trace elementprotected java.lang.String
tag(int construct)
Get the trace element tagname to be used for a particular construct.-
Methods inherited from class net.sf.saxon.trace.AbstractTraceListener
close, endCurrentItem, enter, escape, getOutputDestination, leave, open, setOutputDestination, startCurrentItem
-
-
-
-
Method Detail
-
getOpeningAttributes
protected java.lang.String getOpeningAttributes()
Generate attributes to be included in the opening trace element- Specified by:
getOpeningAttributes
in classAbstractTraceListener
-
tag
protected java.lang.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:
tag
in classAbstractTraceListener
-
-