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, setTraceLevelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.saxon.expr.parser.CodeInjector
injectDuringParsing
-
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
-