public static class CallTemplate.CallTemplatePackage extends java.lang.Object implements TailCall
Constructor and Description |
---|
CallTemplatePackage(Component targetComponent,
ParameterSet params,
ParameterSet tunnelParams,
CallTemplate 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(Component targetComponent, ParameterSet params, ParameterSet tunnelParams, CallTemplate instruction, XPathContext evaluationContext)
targetComponent
- 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-2020 Saxonica Limited. All rights reserved.