Interface TraceableComponent
- All Known Implementing Classes:
GlobalParam, GlobalVariable, MemoFunction, NamedTemplate, TemplateRule, UndeclaredVariable, UserFunction, XQueryExpression
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 Locatable
getLocationMethods inherited from interface 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
-