net.sf.saxon.style
public final class XSLTemplate extends StyleElement implements StylesheetProcedure
Method Summary | |
---|---|
void | allocateSlots(Expression exp)
Allocate space for range variables within predicates in the match pattern. |
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) |
int | getTemplateFingerprint()
Return the fingerprint for the name of this template. |
protected boolean | isPermittedChild(StyleElement child)
Specify that xsl:param is a permitted child |
void | markTailCalls()
Mark tail-recursive calls on templates and functions. |
boolean | mayContainSequenceConstructor()
Determine whether this type of element is allowed to contain a template-body |
void | prepareAttributes() |
void | validate() |
Parameters: exp The expression containing range variables. This will be a predicate within a match pattern, or possibly an argument to id() or key() used in a match pattern.
Returns: the item type returned
Returns: true: yes, it may contain a template-body