public class TraceExpression extends TraceWrapper implements InstructionInfo
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties
?????? |
---|
TraceExpression(Expression child)
Create a trace expression that traces execution of a given child expression
|
?????? | ????? |
---|---|
int |
getColumnNumber()
Get the column number identifying the position of the instruction.
|
int |
getColumnNumber(long locationId)
Get the column number within the document or module containing a particular location
|
int |
getConstructType()
Get the construct type.
|
InstructionInfo |
getInstructionInfo()
Get the InstructionInfo details about the construct.
|
int |
getLineNumber()
Get the line number of the instruction within its module
|
int |
getLineNumber(long locationId)
Get the line number of the expression being
traced.
|
NamespaceResolver |
getNamespaceResolver()
Get the namespace resolver to supply the namespace context of the instruction
that is being traced
|
StructuredQName |
getObjectName()
Get a name identifying the object of the expression, for example a function name, template name,
variable name, key name, element name, etc.
|
java.util.Iterator |
getProperties()
Get an iterator over all the properties available.
|
java.lang.Object |
getProperty(java.lang.String name)
Get a named property of the instruction/expression
|
java.lang.String |
getSystemId()
Get the URI of the module containing the instruction
|
java.lang.String |
getSystemId(long locationId)
Get the system identifier (that is the base URI) of the static context of the expression being
traced.
|
void |
setColumnNumber(int column)
Set the column number of the expression being traced
|
void |
setConstructType(int type)
Set the type of construct.
|
void |
setLineNumber(int line)
Set the line number of the expression being traced
|
void |
setNamespaceResolver(NamespaceResolver resolver)
Set the namespace context for the instruction being traced.
|
void |
setObjectName(StructuredQName qName)
Set a name identifying the object of the expression, for example a function name, template name,
variable name, key name, element name, etc.
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
Set a named property of the instruction/expression
|
void |
setSystemId(java.lang.String systemId)
Set the URI of the module containing the instruction
|
computeDependencies, copy, createsNewNodes, evaluateItem, explain, getCardinality, getDependencies, getInstructionNameCode, getItemType, iterate, iterateSubExpressions, optimize, processLeavingTail, promote, replaceSubExpression, simplify, typeCheck
assembleParams, assembleTunnelParams, computeCardinality, computeSpecialProperties, dynamicError, evaluateAsString, getImplementationMethod, getSourceLocator, isXSLT, process, promoteInst
addToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeStaticProperties, display, doPromotion, dynamicError, effectiveBooleanValue, evaluatePendingUpdates, explain, findParentOf, getContainer, getExecutable, getHostLanguage, getIntrinsicDependencies, getLocationId, getLocationProvider, getPublicId, getSlotsUsed, getSpecialProperties, hasLoopingSubexpression, implementsStaticTypeCheck, isUpdatingExpression, iterateEvents, markTailFunctionCalls, resetLocalStaticProperties, setContainer, setFiltered, setFlattened, setLocationId, staticTypeCheck, suppressValidation, toString, typeError
public TraceExpression(Expression child)
child
- the expression to be traced. This will be available to the TraceListener
as the value of the "expression" property of the InstructionInfo.public void setLineNumber(int line)
line
- public void setColumnNumber(int column)
column
- public void setConstructType(int type)
Location
public int getConstructType()
Location
getConstructType
???? InstructionInfo
getConstructType
??? Instruction
Location
public void setNamespaceResolver(NamespaceResolver resolver)
public NamespaceResolver getNamespaceResolver()
public void setSystemId(java.lang.String systemId)
systemId
- the module's URIpublic java.lang.String getSystemId()
getSystemId
???? javax.xml.transform.SourceLocator
getSystemId
???? InstructionInfo
getSystemId
???? org.xml.sax.Locator
getSystemId
??? Expression
public int getLineNumber()
getLineNumber
???? javax.xml.transform.SourceLocator
getLineNumber
???? InstructionInfo
getLineNumber
???? org.xml.sax.Locator
getLineNumber
??? Expression
public void setObjectName(StructuredQName qName)
public StructuredQName getObjectName()
getObjectName
???? InstructionInfo
getObjectName
??? Expression
public void setProperty(java.lang.String name, java.lang.Object value)
public java.lang.Object getProperty(java.lang.String name)
getProperty
???? InstructionInfo
getProperty
??? Expression
name
- The name of the required propertypublic java.util.Iterator getProperties()
getProperties
???? InstructionInfo
getProperties
??? Expression
public int getColumnNumber()
getColumnNumber
???? javax.xml.transform.SourceLocator
getColumnNumber
???? org.xml.sax.Locator
getColumnNumber
??? Expression
public InstructionInfo getInstructionInfo()
getInstructionInfo
??? TraceWrapper
public java.lang.String getSystemId(long locationId)
LocationProvider
interface.getSystemId
???? LocationProvider
getSystemId
??? Expression
locationId
- not usedpublic int getLineNumber(long locationId)
LocationProvider
interface.getLineNumber
???? LocationProvider
getLineNumber
??? Expression
locationId
- not usedpublic int getColumnNumber(long locationId)
LocationProvider
getColumnNumber
???? LocationProvider
getColumnNumber
??? Expression
locationId
- identifier of the location in question (as passed down the Receiver pipeline)