public class PrincipalStylesheetModuleEE extends PrincipalStylesheetModule
PrincipalStylesheetModule.Action
topLevel
Constructor and Description |
---|
PrincipalStylesheetModuleEE(XSLPackage node) |
Modifier and Type | Method and Description |
---|---|
void |
adjustExposedVisibility()
Adjust visibility of components by applying xsl:expose rules
|
boolean |
checkAcceptableModeForPackage(XSLTemplate template,
Mode mode)
Check that it is legitimate to add a given template rule to a given mode
|
protected void |
checkStreamability(AttributeSet aSet)
Check the streamability of an attribute set declared within this stylesheet module.
|
protected void |
importSchemata()
Process import-schema declarations
|
void |
indexMode(ComponentDeclaration decl)
Handle an explicitly-declared mode
|
protected void |
spliceUsePackages(XSLPackage xslpackage,
Compilation compilation)
Incorporate declarations from used packages
|
addCompletionAction, addFixupAction, addGlobalVariable, addImportedSchema, addNamespaceAlias, allocateUniqueParameterNumber, compile, compileError, compileError, complete, declareXQueryFunction, findKeyablePatterns, fixup, gatherOutputProperties, getAccumulatorManager, getAttributeSetDeclarations, getAttributeSets, getCharacterMap, getCharacterMapIndex, getComponent, getDecimalFormatManager, getGlobalVariable, getGlobalVariableBinding, getGlobalVariableNames, getImportedSchemaTable, getKeyManager, getNamedTemplate, getNamespaceAlias, getPrincipalStylesheetModule, getRuleManager, getSlotManager, getStylesheetDocument, getStylesheetPackage, hasNamespaceAliases, indexAttributeSet, indexFunction, indexNamedTemplate, indexVariableDeclaration, isAliasResultNamespace, isAttributeSetDeclaredStreamable, isDeclaredModes, isImportedSchema, isRootPackage, optimizeTopLevel, preprocess, processAllAttributes, putStylesheetDocument, removeGlobalVariable, setAccumulatorManager, setNeedsDynamicOutputProperties
getAssociatedStylesheet, getConfiguration, getImporter, getInputTypeAnnotations, getMinImportPrecedence, getPrecedence, getRootElement, getStylesheetElement, loadStylesheet, loadStylesheetModule, setImporter, setInputTypeAnnotations, setMinImportPrecedence, setWasIncluded, spliceIncludes
public PrincipalStylesheetModuleEE(XSLPackage node) throws XPathException
XPathException
protected void spliceUsePackages(XSLPackage xslpackage, Compilation compilation) throws XPathException
spliceUsePackages
in class PrincipalStylesheetModule
xslpackage
- the used packagecompilation
- this compilationXPathException
- if any error is detected in the used packageprotected void importSchemata() throws XPathException
importSchemata
in class PrincipalStylesheetModule
XPathException
- if errors are detectedprotected void checkStreamability(AttributeSet aSet) throws XPathException
checkStreamability
in class PrincipalStylesheetModule
aSet
- the attribute set to be checked (the method is called only
if the attribute set is declared streamable)XPathException
- if the streamability rules are not satisifedpublic void indexMode(ComponentDeclaration decl) throws XPathException
indexMode
in class PrincipalStylesheetModule
decl
- the declaration of the Mode objectXPathException
- if an error occurspublic void adjustExposedVisibility() throws XPathException
adjustExposedVisibility
in class PrincipalStylesheetModule
XPathException
public boolean checkAcceptableModeForPackage(XSLTemplate template, Mode mode) throws XPathException
checkAcceptableModeForPackage
in class PrincipalStylesheetModule
template
- the template rulemode
- the modeXPathException
- if the mode is declared in a used package and the template
is not declared within the relevant xsl:mode declarationCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.