public class Template extends Procedure implements InstructionInfoProvider
| Constructor and Description |
|---|
Template() |
| Modifier and Type | Method and Description |
|---|---|
TailCall |
expand(XPathContext context)
Expand the template.
|
int |
getFingerprint()
Get the namepool fingerprint of the name of the template (if it is named)
|
InstructionInfo |
getInstructionInfo()
Get the InstructionInfo details about the construct.
|
int |
getMinImportPrecedence() |
int |
getPrecedence() |
boolean |
hasBadParentPointer()
Diagnostic method
|
void |
init(int templateFingerprint,
int precedence,
int minImportPrecedence) |
void |
process(XPathContext context)
Process the template, without returning any tail calls
|
TailCall |
processLeavingTail(XPathContext context)
Process this template, with the possibility of returning a tail call package if the template
contains any tail calls that are to be performed by the caller.
|
getBody, getColumnNumber, getExecutable, getHostLanguage, getLineNumber, getLineNumber, getLocationProvider, getPublicId, getStackFrameMap, getSystemId, getSystemId, setBody, setExecutable, setHostLanguage, setLineNumber, setStackFrameMap, setSystemIdpublic void init(int templateFingerprint,
int precedence,
int minImportPrecedence)
public int getFingerprint()
public int getPrecedence()
public int getMinImportPrecedence()
public void process(XPathContext context) throws XPathException
context - The dynamic context, giving access to the current node,
the current variables, etc.XPathExceptionpublic TailCall processLeavingTail(XPathContext context) throws XPathException
XPathExceptionpublic TailCall expand(XPathContext context) throws XPathException
XPathExceptionpublic InstructionInfo getInstructionInfo()
getInstructionInfo in interface InstructionInfoProviderpublic boolean hasBadParentPointer()