public static class CallTemplate.CallTemplatePackage extends Object implements TailCall
Constructor and Description |
---|
CallTemplate.CallTemplatePackage(Template template,
ParameterSet params,
ParameterSet tunnelParams,
Instruction instruction,
XPathContext evaluationContext)
Construct a CallTemplatePackage that contains information about a call.
|
public CallTemplate.CallTemplatePackage(Template template, ParameterSet params, ParameterSet tunnelParams, Instruction instruction, XPathContext evaluationContext)
template
- the Template to be calledparams
- the parameters to be supplied to the called templatetunnelParams
- the tunnel parameter supplied to the called templateinstruction
- the xsl:call-template instructionevaluationContext
- saved context information from the Controller (current mode, etc)
which must be reset to ensure that the template is called with all the context information
intactpublic TailCall processLeavingTail() throws XPathException
processLeavingTail
in interface TailCall
XPathException
- if a dynamic error occursCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.