public static class CallTemplate.CallTemplatePackage extends java.lang.Object implements TailCall
Constructor and Description |
---|
CallTemplatePackage(Template template,
ParameterSet params,
ParameterSet tunnelParams,
Instruction instruction,
XPathContext evaluationContext)
Construct a CallTemplatePackage that contains information about a call.
|
Modifier and Type | Method and Description |
---|---|
TailCall |
processLeavingTail()
Process the template call encapsulated by this package.
|
public 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 occurs