Package net.sf.saxon.trace
Interface TraceableComponent
- All Known Implementing Classes:
AccumulatorRule,GlobalParam,GlobalVariable,MemoFunction,NamedTemplate,StreamableUserFunction,TemplateRule,TemplateRuleEE,UndeclaredVariable,UserFunction,XQueryExpression,XQueryExpressionEE
A construct whose execution can be notified to a TraceListener. In practice this is
a function or template or global variable.
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()Get the expression at the root of the expression tree used to evaluate this constructGet a string to identify the type of componentvoidsetBody(Expression expression) Set the expression to be used to evaluate this constructMethods inherited from interface net.sf.saxon.expr.Locatable
getLocationMethods inherited from interface net.sf.saxon.trace.Traceable
gatherProperties, getObjectName
-
Method Details
-
getBody
Expression getBody()Get the expression at the root of the expression tree used to evaluate this construct- Returns:
- the root expression
-
setBody
Set the expression to be used to evaluate this construct- Parameters:
expression- the evaluation expression
-
getTracingTag
String getTracingTag()Get a string to identify the type of component- Returns:
- an identifying string
-