Package net.sf.saxon.trace
Class TimingCodeInjector
- java.lang.Object
-
- net.sf.saxon.trace.TraceCodeInjector
-
- net.sf.saxon.trace.TimingCodeInjector
-
- All Implemented Interfaces:
CodeInjector
public class TimingCodeInjector extends TraceCodeInjector
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
-
-
Constructor Summary
Constructors Constructor Description TimingCodeInjector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(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
-
-
-
-
Method Detail
-
process
public void process(TraceableComponent component)
Description copied from interface:CodeInjector
Process a component such as a function, template, or global variable. The default implementation does nothing.- Specified by:
process
in interfaceCodeInjector
- Overrides:
process
in classTraceCodeInjector
- Parameters:
component
- the component to be processed
-
-