public class ModeTraceListener extends AbstractTraceListener
indent, outMAX_MESSAGE_LENGTH, MAX_MESSAGE_LINE_LENGTH, MIN_MESSAGE_LINE_LENGTH, TARGET_MESSAGE_LINE_LENGTH| Constructor and Description |
|---|
ModeTraceListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
endCurrentItem(Item item)
Called after a node of the source tree got processed
|
void |
enter(Traceable info,
XPathContext context)
Called when an instruction in the stylesheet gets processed
|
protected java.lang.String |
getOpeningAttributes()
Generate attributes to be included in the opening trace element
|
void |
leave(Traceable info)
Called after an instruction of the stylesheet got processed
|
void |
startCurrentItem(Item item)
Called when an item becomes the context item
|
protected java.lang.String |
tag(Traceable info) |
close, endRuleSearch, enter, escape, getCodeInjector, getOutputDestination, isApplicable, level, open, setLevelOfDetail, setOutputDestination, spaces, startRuleSearchabbreviateLocationURI, abbreviateLocationURIDefault, expandSpecialCharacters, formatListOfOffendingNodes, getInstructionName, getInstructionNameDefault, getLocationMessageText, printStackTrace, showOriginator, wordWrapprotected java.lang.String getOpeningAttributes()
getOpeningAttributes in class AbstractTraceListenerpublic void startCurrentItem(Item item)
AbstractTraceListenerstartCurrentItem in interface TraceListenerstartCurrentItem in class AbstractTraceListeneritem - the new current item. Item objects are not mutable; it is safe to retain
a reference to the Item for later use.public void endCurrentItem(Item item)
AbstractTraceListenerendCurrentItem in interface TraceListenerendCurrentItem in class AbstractTraceListeneritem - the item that was current, whose processing is now complete. This will represent
the same underlying item as the corresponding startCurrentItem() call, though it will
not necessarily be the same actual object.public void enter(Traceable info, XPathContext context)
public void leave(Traceable info)
AbstractTraceListenerleave in interface TraceListenerleave in class AbstractTraceListenerinfo - gives the same information that was supplied to the
enter method, though it is not necessarily the same object. Note that the
line number of the instruction is that of the start tag in the source stylesheet,
not the line number of the end tag.protected java.lang.String tag(Traceable info)
tag in class AbstractTraceListenerCopyright (c) 2004-2020 Saxonica Limited.