Package net.sf.saxon.trace
Class TimingCodeInjector
java.lang.Object
net.sf.saxon.trace.TraceCodeInjector
net.sf.saxon.trace.TimingCodeInjector
- All Implemented Interfaces:
CodeInjector
A code injector that wraps the body of a template or function in a TraceExpression, which causes
the TimingTraceListener to be notified at the start and end of the function/template evaluation
-
Field Summary
Fields inherited from class net.sf.saxon.trace.TraceCodeInjector
traceLevel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(TraceableComponent component) Process a component such as a function, template, or global variable.Methods inherited from class net.sf.saxon.trace.TraceCodeInjector
inject, injectClause, isApplicable, levelValue, setTraceLevel
-
Constructor Details
-
TimingCodeInjector
public TimingCodeInjector()
-
-
Method Details
-
process
Description copied from interface:CodeInjectorProcess a component such as a function, template, or global variable. The default implementation does nothing.- Specified by:
processin interfaceCodeInjector- Overrides:
processin classTraceCodeInjector- Parameters:
component- the component to be processed
-