net.sf.saxon.instruct
Class TraceInstruction

java.lang.Object
  extended by net.sf.saxon.expr.Expression
      extended by net.sf.saxon.instruct.Instruction
          extended by net.sf.saxon.instruct.TraceWrapper
              extended by net.sf.saxon.instruct.TraceInstruction
All Implemented Interfaces:
Serializable, SourceLocator, EvaluableItem, SequenceIterable, TailCallReturner, InstructionInfoProvider

public class TraceInstruction
extends TraceWrapper

A run-time instruction which wraps a real instruction and traces its entry and exit to the TraceListener

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.saxon.expr.Expression
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD
 
Constructor Summary
TraceInstruction(Expression child, InstructionInfo details)
          Create a Trace instruction
 
Method Summary
 InstructionInfo getInstructionInfo()
          Get the instruction details
 
Methods inherited from class net.sf.saxon.instruct.TraceWrapper
computeDependencies, copy, createsNewNodes, evaluateItem, explain, getCardinality, getDependencies, getInstructionNameCode, getItemType, iterate, iterateSubExpressions, optimize, processLeavingTail, promote, replaceSubExpression, simplify, typeCheck
 
Methods inherited from class net.sf.saxon.instruct.Instruction
computeCardinality, computeSpecialProperties, evaluateAsString, getImplementationMethod, getSourceLocator, isXSLT, process
 
Methods inherited from class net.sf.saxon.expr.Expression
addToPathMap, adoptChildExpression, checkPermittedContents, computeStaticProperties, display, doPromotion, effectiveBooleanValue, explain, findParentOf, getColumnNumber, getContainer, getExecutable, getHostLanguage, getIntrinsicDependencies, getLineNumber, getLocationId, getLocationProvider, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, iterateEvents, markTailFunctionCalls, setContainer, setFiltered, setFlattened, setLocationId, staticTypeCheck, suppressValidation, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.xml.transform.SourceLocator
getColumnNumber, getLineNumber, getPublicId, getSystemId
 

Constructor Detail

TraceInstruction

public TraceInstruction(Expression child,
                        InstructionInfo details)
Create a Trace instruction

Parameters:
child - the "real" instruction to be traced
Method Detail

getInstructionInfo

public InstructionInfo getInstructionInfo()
Get the instruction details

Specified by:
getInstructionInfo in interface InstructionInfoProvider
Overrides:
getInstructionInfo in class Instruction


Copyright (C) Michael H. Kay. All rights reserved.