net.sf.saxon.style
public final class XSLTemplate extends StyleElement implements StylesheetProcedure
Method Summary | |
---|---|
Expression | compile(Executable exec)
Compile: this registers the template with the rule manager, and ensures
space is available for local variables |
Template | getCompiledTemplate()
Get the compiled template |
int | getConstructType()
Get the type of construct. |
protected ItemType | getReturnedItemType()
Determine the type of item returned by this template |
SlotManager | getSlotManager()
Get associated Procedure (for details of stack frame) |
StructuredQName | getTemplateName()
Return the name of this template. |
protected void | index(XSLStylesheet top) |
protected boolean | isPermittedChild(StyleElement child)
Specify that xsl:param is a permitted child |
boolean | markTailCalls()
Mark tail-recursive calls on templates and functions. |
protected boolean | mayContainParam(String attName) |
boolean | mayContainSequenceConstructor()
Determine whether this type of element is allowed to contain a template-body |
void | optimize() |
void | postValidate() |
void | prepareAttributes() |
void | validate() |
Returns: the compiled template
Returns: the item type returned
Returns: the name of the template as a Structured QName.
Returns: true: yes, it may contain a template-body