public class ModePE extends SimpleMode
SimpleMode.RuleGroupActionMode.RuleAction, Mode.RuleFilteratomicValueRuleChain, commentRuleChain, documentRuleChain, functionItemRuleChain, genericRuleChain, namedAttributeRuleChains, namedElementRuleChains, namespaceRuleChain, processingInstructionRuleChain, qNamedAttributeRuleChains, qNamedElementRuleChains, textRuleChain, unnamedAttributeRuleChain, unnamedElementRuleChainDEFAULT_MODE_NAME, modeName, mustBeTyped, mustBeUntyped, OMNI_MODE, UNNAMED_MODE_NAME| Constructor and Description |
|---|
ModePE(StructuredQName modeName) |
| Modifier and Type | Method and Description |
|---|---|
BuiltInRuleSet |
getBuiltInRuleSetForCode(java.lang.String code)
Return a built-in rule set for a code string.
|
java.lang.String |
getCodeForBuiltInRuleSet(BuiltInRuleSet builtInRuleSet)
Return a code string for a built-in rule set.
|
void |
prepareStreamability()
Prepare for possible streamability - probably eventually in EE
|
addRule, addRule, allocateAllBindingSlots, allocateAllPatternSlots, allocatePatternSlots, checkForConflictingProperties, computeRankings, computeStreamability, copyRules, explainTemplateRules, exportTemplateRules, forceAllocateAllBindingSlots, getActivePart, getBuiltInRuleSet, getExplicitNamespaces, getLabel, getMaxPrecedence, getMaxRank, getNamedRuleChain, getPropertyValue, getRule, getRule, getStackFrameSlotsNeeded, invertStreamableTemplates, isEmpty, makeRule, makeRuleSearchState, optimizeRules, processRuleChain, processRuleChain, processRuleChains, processRules, processRules, reportAmbiguity, ruleMatches, searchRuleChain, searchRuleChain, setBuiltInRuleSet, setExplicitProperty, setGroup, setStackFrameSlotsNeededapplyTemplates, explain, export, exportUseAccumulators, getAccumulators, getComponentKind, getConstructType, getDeclaringComponent, getModeName, getModeTitle, getNextMatchRule, getObjectName, getRecoveryPolicy, getRule, getSymbolicName, isDeclaredStreamable, isMustBeTyped, isUnnamedMode, makeNewContext, makeNewContextIfNeeded, setAccumulators, setHasRules, setRecoveryPolicy, setStreamableallocateBindingSlotsRecursive, getBody, getColumnNumber, getDeclaredVisibility, getLineNumber, getLocation, getPackageData, getProperties, getProperty, getPublicId, getRetainedStaticContext, getStackFrameMap, getSystemId, isExportable, makeDeclaringComponent, saveLocation, setBody, setChildExpression, setDeclaredVisibility, setDeclaringComponent, setLineNumber, setPackageData, setRetainedStaticContext, setStackFrameMap, setSystemIdpublic ModePE(StructuredQName modeName)
public void prepareStreamability()
throws XPathException
prepareStreamability in class SimpleModeXPathExceptionpublic java.lang.String getCodeForBuiltInRuleSet(BuiltInRuleSet builtInRuleSet)
ModegetCodeForBuiltInRuleSet in class ModebuiltInRuleSet - the rule set to get a codepublic BuiltInRuleSet getBuiltInRuleSetForCode(java.lang.String code) throws XPathException
getBuiltInRuleSetForCode in class Modecode - the code used in exportXPathExceptionCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.