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 Details

    • TimingCodeInjector

      public TimingCodeInjector()
  • Method Details

    • 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 interface CodeInjector
      Overrides:
      process in class TraceCodeInjector
      Parameters:
      component - the component to be processed