net.sf.saxon.instruct
public class Template extends Procedure implements InstructionInfoProvider
Constructor Summary | |
---|---|
Template() |
Method Summary | |
---|---|
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. |
Returns: the fingerprint of the template name, or -1 if unnamed
Returns:
Parameters: context The dynamic context, giving access to the current node, the current variables, etc.