public class TemplateRuleEE extends TemplateRule
body, matchPattern, slaveCopies| Constructor and Description |
|---|
TemplateRuleEE()
Create a template rule
|
| Modifier and Type | Method and Description |
|---|---|
TemplateRule |
copy()
Create a copy of a template rule.
|
TemplateRuleInitializer |
getInitializer() |
ComponentInversion |
getInversion() |
void |
initialize()
Ensure that any first-time initialization has been done.
|
boolean |
isActuallyStreamable(java.util.List<java.lang.String> reasons)
Ask whether this template satisfies the rules for a guaranteed streamable template
|
boolean |
isDeclaredStreamable()
Ask whether or not this template is declared as streamable
|
void |
makeInversion()
Generate the inversion of the expression comprising the body of a template rules.
|
void |
prepareInitializer(Compilation compilation,
ComponentDeclaration decl,
StructuredQName modeName)
Prepare for JIT compilation.
|
void |
setDeclaredStreamable(boolean streamable)
Say whether or not this template is declared as streamable
|
void |
setInitializer(TemplateRuleInitializer initializer) |
apply, applyLeavingTail, copyTo, explainProperties, export, getBody, getColumnNumber, getComponentKind, getConstructType, getContainerGranularity, getInterpretedBody, getLineNumber, getLocalParams, getMatchPattern, getPackageData, getPublicId, getRequiredContextItemType, getRequiredType, getRules, getStackFrameMap, getSystemId, hasRequiredParams, isAbsentFocus, registerRule, saveLocation, setBody, setChildExpression, setContextItemRequirements, setHasRequiredParams, setLineNumber, setMatchPattern, setPackageData, setRequiredType, setStackFrameMap, setSystemId, updateSlaveCopiespublic void setDeclaredStreamable(boolean streamable)
setDeclaredStreamable in class TemplateRulestreamable - true if the template belongs to a streamable mode; set to false if it does not belong
to a streamable mode, or if it is found that the template is not actually streamable, and fallback
to non-streaming has been requested.public boolean isDeclaredStreamable()
isDeclaredStreamable in class TemplateRulepublic void setInitializer(TemplateRuleInitializer initializer)
public TemplateRuleInitializer getInitializer()
public void prepareInitializer(Compilation compilation, ComponentDeclaration decl, StructuredQName modeName)
prepareInitializer in class TemplateRulecompilation - the XSLT compilationdecl - the component declaration of this template rulepublic void initialize()
throws XPathException
initialize in class TemplateRuleXPathExceptionpublic TemplateRule copy()
copy in class TemplateRulepublic boolean isActuallyStreamable(java.util.List<java.lang.String> reasons)
reasons - the caller may supply a list which on return will contain explanations
for why the template is not streamable, suitable for inclusion in error messagespublic void makeInversion()
throws XPathException
XPathExceptionpublic ComponentInversion getInversion() throws XPathException
XPathExceptionCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.