public class StylesheetModule extends Object
Modifier and Type | Field and Description |
---|---|
protected List<Declaration> |
topLevel |
Constructor and Description |
---|
StylesheetModule(XSLStylesheet sourceElement,
int precedence) |
Modifier and Type | Method and Description |
---|---|
StylesheetModule |
getImporter() |
int |
getInputTypeAnnotations()
Get the value of the input-type-annotations attribute, for this module combined with that
of all included/imported modules.
|
int |
getMinImportPrecedence()
Get the minimum import precedence of this module, that is, the lowest import precedence of the modules
that it imports.
|
int |
getPrecedence() |
PrincipalStylesheetModule |
getPrincipalStylesheetModule() |
XSLStylesheet |
getSourceElement() |
void |
setImporter(StylesheetModule importer) |
void |
setInputTypeAnnotations(int annotations)
Set the value of the input-type-annotations attribute, for this module combined with that
of all included/imported modules.
|
void |
setMinImportPrecedence(int min)
Set the minimum import precedence of this module, that is, the lowest import precedence of the modules
that it imports.
|
void |
setWasIncluded()
Indicate that this stylesheet was included (by its "importer") using an xsl:include
statement as distinct from xsl:import
|
void |
spliceIncludes()
Process xsl:include and xsl:import elements.
|
protected List<Declaration> topLevel
public StylesheetModule(XSLStylesheet sourceElement, int precedence)
public void setImporter(StylesheetModule importer)
public StylesheetModule getImporter()
public PrincipalStylesheetModule getPrincipalStylesheetModule()
public XSLStylesheet getSourceElement()
public int getPrecedence()
public void setWasIncluded()
public void setMinImportPrecedence(int min)
min
- the minimum import precedencepublic int getMinImportPrecedence()
public void spliceIncludes() throws XPathException
XPathException
public int getInputTypeAnnotations()
XSLStylesheet.ANNOTATION_STRIP
and XSLStylesheet.ANNOTATION_PRESERVE
public void setInputTypeAnnotations(int annotations) throws XPathException
XSLStylesheet.ANNOTATION_STRIP
and XSLStylesheet.ANNOTATION_PRESERVE
annotations
- the value of the input-type-annotations attribute, for this module combined with that
of all included/imported modules.XPathException
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.