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 templateevaluationContext
- 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-2013 Saxonica Limited. All rights reserved.