org.apache.xalan.templates
public class StylesheetComposed extends Stylesheet
In some cases getXXXComposed methods may calculate the composed values dynamically, while in other cases they may store the composed values.
Constructor Summary | |
---|---|
StylesheetComposed(Stylesheet parent)
Uses an XSL stylesheet document. |
Method Summary | |
---|---|
int | getEndImportCountComposed()
Get the number of import in this stylesheet's composed list.
|
StylesheetComposed | getImportComposed(int i)
Get a stylesheet from the "import" list. |
int | getImportCountComposed()
Get the precedence of this stylesheet in the global import list.
|
Stylesheet | getIncludeComposed(int i)
Get an "xsl:include" property. |
int | getIncludeCountComposed()
Get the number of included stylesheets. |
boolean | isAggregatedType()
Tell if this can be cast to a StylesheetComposed, meaning, you
can ask questions from getXXXComposed functions.
|
void | recompose(Vector recomposableElements)
Adds all recomposable values for this precedence level into the recomposableElements Vector
that was passed in as the first parameter. |
void | recomposeTemplates(boolean flushFirst)
For compilation support, we need the option of overwriting
(rather than appending to) previous composition.
|
Parameters: parent The including or importing stylesheet.
Returns: the number of imports in this stylesheet's composed list.
Parameters: i Index of stylesheet in import list
Returns: The stylesheet at the given index
Throws: ArrayIndexOutOfBoundsException
See Also: import in XSLT Specification
Returns: the precedence of this stylesheet in the global import list.
See Also: import in XSLT Specification
Parameters: i Index of stylesheet in "include" list
Returns: The stylesheet at the given index in the "include" list
Throws: ArrayIndexOutOfBoundsException
See Also: include in XSLT Specification
Returns: the number of included stylesheets.
See Also: import in XSLT Specification
Returns: True since this is a StylesheetComposed
Parameters: recomposableElements a Vector of ElemTemplateElement objects that we will add all of our recomposable objects to.
Parameters: flushFirst Flag indicating the option of overwriting (rather than appending to) previous composition.
Throws: TransformerException
See Also: section-Defining-Template-Rules in XSLT Specification