|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saxon.instruct.Instruction | +--net.sf.saxon.instruct.CallTemplate
Instruction representing an xsl:call-template element in the stylesheet.
Constructor Summary | |
CallTemplate(Template template,
WithParam[] actualParams,
WithParam[] tunnelParams,
boolean useTailRecursion,
Expression calledTemplateExpression,
NamespaceContext nsContext)
Construct a CallTemplate instruction. |
Method Summary | |
void |
process(XPathContext context)
Process this instruction, without leaving any tail calls. |
TailCall |
processLeavingTail(XPathContext context)
Process this instruction. |
void |
setInstructionDetails(Controller controller,
NamePool namePool,
InstructionDetails details)
Return the name of this instruction. |
Methods inherited from class net.sf.saxon.instruct.Instruction |
assembleParams, assembleTunnelParams, getChildren, getInstructionDetails, getInstructionName, getLineNumber, getResultType, getSystemId, processChildren, processChildrenLeavingTail, recoverableError, setChildren, setSourceLocation, styleError, styleError |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CallTemplate(Template template, WithParam[] actualParams, WithParam[] tunnelParams, boolean useTailRecursion, Expression calledTemplateExpression, NamespaceContext nsContext)
template
- the Template object identifying the template to be called, in the normal
case where this is known staticallyactualParams
- array of WithParam instructions to calculate the actual parameters
to be supplied to the callcalledTemplateExpression
- expression to calculate the name of the template to be called
at run-time, this supports the saxon:allow-avt optionnsContext
- the static namespace context of the instruction, needed only in the case
where the name of the called template is to be calculated dynamicallyMethod Detail |
public void setInstructionDetails(Controller controller, NamePool namePool, InstructionDetails details)
setInstructionDetails
in class Instruction
public void process(XPathContext context) throws javax.xml.transform.TransformerException
process
in class Instruction
context
- the dynamic context for this transformation
javax.xml.transform.TransformerException
- if a dynamic error occurspublic TailCall processLeavingTail(XPathContext context) throws javax.xml.transform.TransformerException
processLeavingTail
in class Instruction
context
- the dynamic context for this transformation
javax.xml.transform.TransformerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |