Class XSLTTraceCodeInjector

java.lang.Object
net.sf.saxon.trace.TraceCodeInjector
net.sf.saxon.trace.XSLTTraceCodeInjector
All Implemented Interfaces:
CodeInjector

public class XSLTTraceCodeInjector extends TraceCodeInjector
A code injector that wraps every expression (other than a literal) in a TraceExpression, which causes a TraceListener to be notified when the expression is evaluated
  • Constructor Details

    • XSLTTraceCodeInjector

      public XSLTTraceCodeInjector()
  • Method Details

    • isApplicable

      protected boolean isApplicable(Expression exp)
      Overrides:
      isApplicable in class TraceCodeInjector
    • isTraceableExpression

      public static boolean isTraceableExpression(Expression exp)
      Decide whether a particular expression should be traced when tracing XSLT stylesheet execution.