net.sf.saxon.trace

Class XQueryTraceListener

Implemented Interfaces:
EventListener, TraceListener

public class XQueryTraceListener
extends AbstractTraceListener

A Simple trace listener for XQuery that writes messages (by default) to System.err

Method Summary

protected String
getOpeningAttributes()
Generate attributes to be included in the opening trace element
protected 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, getOpeningAttributes, getOutputDestination, leave, open, setOutputDestination, startCurrentItem, tag

Method Details

getOpeningAttributes

protected String getOpeningAttributes()
Generate attributes to be included in the opening trace element
Overrides:
getOpeningAttributes in interface AbstractTraceListener

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.
Overrides:
tag in interface AbstractTraceListener