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, hasRules, modeName, mustBeTyped, mustBeUntyped, OMNI_MODE, UNNAMED_MODE_NAMEbody| 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, setStackFrameSlotsNeededapplyTemplates, explain, export, getComponentKind, getConstructType, getModeName, getModeTitle, getNextMatchRule, getObjectName, getRecoveryPolicy, getRule, getSymbolicName, isDeclaredStreamable, isUnnamedMode, makeNewContext, makeNewContextIfNeeded, setRecoveryPolicy, setStreamableallocateBindingSlotsRecursive, getBody, getColumnNumber, getDeclaredVisibility, getDeclaringComponent, getLineNumber, getLocation, getPackageData, getProperties, getProperty, getPublicId, getRetainedStaticContext, getStackFrameMap, getSystemId, makeDeclaringComponent, saveLocation, setBody, setDeclaredVisibility, setDeclaringComponent, setLineNumber, setPackageData, setRetainedStaticContext, setStackFrameMap, setSystemIdpublic ModePE(StructuredQName modeName)
public void prepareStreamability()
throws XPathException
prepareStreamability in class SimpleModeXPathExceptionpublic String getCodeForBuiltInRuleSet(BuiltInRuleSet builtInRuleSet)
ModegetCodeForBuiltInRuleSet in class ModebuiltInRuleSet - the rule set to get a codepublic BuiltInRuleSet getBuiltInRuleSetForCode(String code) throws XPathException
getBuiltInRuleSetForCode in class Modecode - the code used in exportXPathExceptionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.