public class XQueryTraceListener extends AbstractTraceListener
Constructor and Description |
---|
XQueryTraceListener() |
Modifier and Type | Method and Description |
---|---|
void |
endRuleSearch(Object rule,
Mode mode,
Item item)
Called at the end of a rule search
|
protected String |
getOpeningAttributes()
Generate attributes to be included in the opening trace element
|
void |
startRuleSearch()
Called at the start of a rule search
|
protected String |
tag(int construct)
Get the trace element tagname to be used for a particular construct.
|
close, endCurrentItem, enter, escape, getCodeInjector, getOutputDestination, leave, open, setOutputDestination, startCurrentItem
protected String getOpeningAttributes()
getOpeningAttributes
in class AbstractTraceListener
protected String tag(int construct)
tag
in class AbstractTraceListener
public void startRuleSearch()
startRuleSearch
in interface TraceListener2
startRuleSearch
in class AbstractTraceListener
public void endRuleSearch(Object rule, Mode mode, Item item)
endRuleSearch
in interface TraceListener2
endRuleSearch
in class AbstractTraceListener
rule
- the rule that has been selectedmode
- item
- Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.