public class ModePE extends SimpleMode
SimpleMode.RuleGroupAction
Mode.RuleAction, Mode.RuleFilter
atomicValueRuleChain, commentRuleChain, documentRuleChain, functionItemRuleChain, genericRuleChain, namedAttributeRuleChains, namedElementRuleChains, namespaceRuleChain, processingInstructionRuleChain, qNamedAttributeRuleChains, qNamedElementRuleChains, textRuleChain, unnamedAttributeRuleChain, unnamedElementRuleChain
DEFAULT_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, setStackFrameSlotsNeeded
applyTemplates, explain, export, exportUseAccumulators, getAccumulators, getComponentKind, getConstructType, getDeclaringComponent, getModeName, getModeTitle, getNextMatchRule, getObjectName, getRecoveryPolicy, getRule, getSymbolicName, isDeclaredStreamable, isMustBeTyped, isUnnamedMode, makeNewContext, makeNewContextIfNeeded, setAccumulators, setHasRules, setRecoveryPolicy, setStreamable
allocateBindingSlotsRecursive, getBody, getColumnNumber, getDeclaredVisibility, getLineNumber, getLocation, getPackageData, getProperties, getProperty, getPublicId, getRetainedStaticContext, getStackFrameMap, getSystemId, isExportable, makeDeclaringComponent, saveLocation, setBody, setChildExpression, setDeclaredVisibility, setDeclaringComponent, setLineNumber, setPackageData, setRetainedStaticContext, setStackFrameMap, setSystemId
public ModePE(StructuredQName modeName)
public void prepareStreamability() throws XPathException
prepareStreamability
in class SimpleMode
XPathException
public java.lang.String getCodeForBuiltInRuleSet(BuiltInRuleSet builtInRuleSet)
Mode
getCodeForBuiltInRuleSet
in class Mode
builtInRuleSet
- the rule set to get a codepublic BuiltInRuleSet getBuiltInRuleSetForCode(java.lang.String code) throws XPathException
getBuiltInRuleSetForCode
in class Mode
code
- the code used in exportXPathException
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.