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, hasRules, modeName, mustBeTyped, mustBeUntyped, OMNI_MODE, UNNAMED_MODE_NAME
body
Constructor and Description |
---|
ModePE(StructuredQName modeName) |
Modifier and Type | Method and Description |
---|---|
BuiltInRuleSet |
getBuiltInRuleSetForCode(String code)
Return a built-in rule set for a code string.
|
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, 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, getComponentKind, getConstructType, getModeName, getModeTitle, getNextMatchRule, getObjectName, getRecoveryPolicy, getRule, getSymbolicName, isDeclaredStreamable, isUnnamedMode, makeNewContext, makeNewContextIfNeeded, setRecoveryPolicy, setStreamable
allocateBindingSlotsRecursive, getBody, getColumnNumber, getDeclaredVisibility, getDeclaringComponent, getLineNumber, getLocation, getPackageData, getProperties, getProperty, getPublicId, getRetainedStaticContext, getStackFrameMap, getSystemId, makeDeclaringComponent, saveLocation, setBody, setDeclaredVisibility, setDeclaringComponent, setLineNumber, setPackageData, setRetainedStaticContext, setStackFrameMap, setSystemId
public ModePE(StructuredQName modeName)
public void prepareStreamability() throws XPathException
prepareStreamability
in class SimpleMode
XPathException
public String getCodeForBuiltInRuleSet(BuiltInRuleSet builtInRuleSet)
Mode
getCodeForBuiltInRuleSet
in class Mode
builtInRuleSet
- the rule set to get a codepublic BuiltInRuleSet getBuiltInRuleSetForCode(String code) throws XPathException
getBuiltInRuleSetForCode
in class Mode
code
- the code used in exportXPathException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.