| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectnet.sf.saxon.tree.NodeImplnet.sf.saxon.tree.ParentNodeImplnet.sf.saxon.tree.ElementImplnet.sf.saxon.tree.ElementWithAttributesnet.sf.saxon.style.StyleElementnet.sf.saxon.style.XSLTemplateField Summary |
Fields inherited from class net.sf.saxon.style.StyleElement | |
REPORT_ALWAYS, REPORT_IF_INSTANTIATED, REPORT_UNLESS_FALLBACK_AVAILABLE, REPORT_UNLESS_FORWARDS_COMPATIBLE, defaultCollationName, defaultXPathNamespace, extensionNamespaces, reportingCircumstances, staticContext, validationError, version | |
Fields inherited from class net.sf.saxon.tree.ElementWithAttributes | |
attributeList, namespaceList | |
Fields inherited from class net.sf.saxon.tree.ElementImpl | |
nameCode, root | |
Fields inherited from class net.sf.saxon.tree.ParentNodeImpl | |
sequence | |
Fields inherited from class net.sf.saxon.tree.NodeImpl | |
NODE_LETTER, index, parent | |
Fields inherited from interface net.sf.saxon.om.NodeInfo | |
ALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES | |
Fields inherited from interface net.sf.saxon.om.ValueRepresentation | |
EMPTY_VALUE_ARRAY | |
Method Summary | |
Expression |
|
Template |
|
int |
|
protected ItemType |
|
SlotManager |
|
StructuredQName |
|
protected boolean |
|
void |
|
boolean |
|
void | |
void |
|
Methods inherited from class net.sf.saxon.tree.ElementWithAttributes | |
copy, getAttributeList, getAttributeValue, getDeclaredNamespaces, getInScopeNamespaceCodes, getPrefixForURI, getURICodeForPrefix, getURIForPrefix, initialise, iteratePrefixes, setNamespaceDeclarations | |
Methods inherited from class net.sf.saxon.tree.ElementImpl | |
copy, generateId, getAttributeList, getBaseURI, getDeclaredNamespaces, getDocumentRoot, getLineNumber, getNameCode, getNodeKind, getRoot, getSystemId, initialise, setLineNumber, setNameCode, setSystemId | |
Methods inherited from class net.sf.saxon.tree.ParentNodeImpl | |
addChild, compact, enumerateChildren, getFirstChild, getLastChild, getNthChild, getSequenceNumber, getStringValue, getStringValueCS, hasChildNodes, useChildrenArray | |
public Expression compile(Executable exec) throws XPathException
Compile: this registers the template with the rule manager, and ensures space is available for local variables
- Overrides:
- compile in interface StyleElement
public Template getCompiledTemplate()
Get the compiled template
- Returns:
- the compiled template
public int getConstructType()
Get the type of construct. This will be a constant in classLocation. This method is part of theInstructionInfointerface
- Specified by:
- getConstructType in interface InstructionInfo
- Overrides:
- getConstructType in interface StyleElement
protected ItemType getReturnedItemType()
Determine the type of item returned by this template
- Overrides:
- getReturnedItemType in interface StyleElement
- Returns:
- the item type returned
public SlotManager getSlotManager()
Get associated Procedure (for details of stack frame)
- Specified by:
- getSlotManager in interface StylesheetProcedure
public StructuredQName getTemplateName()
Return the name of this template. Note that this may be called before prepareAttributes has been called.
- Returns:
- the name of the template as a Structured QName.
protected boolean isPermittedChild(StyleElement child)
Specify that xsl:param is a permitted child
- Overrides:
- isPermittedChild in interface StyleElement
public void markTailCalls()
Mark tail-recursive calls on templates and functions.
- Overrides:
- markTailCalls in interface StyleElement
public boolean mayContainSequenceConstructor()
Determine whether this type of element is allowed to contain a template-body
- Overrides:
- mayContainSequenceConstructor in interface StyleElement
- Returns:
- true: yes, it may contain a template-body
public void prepareAttributes()
throws XPathException
- Overrides:
- prepareAttributes in interface StyleElement