|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.utils.UnImplNode
org.apache.xalan.templates.ElemTemplateElement
org.apache.xalan.templates.Stylesheet
org.apache.xalan.templates.StylesheetComposed
Represents a stylesheet that has methods that resolve includes and imports. It has methods on it that return "composed" properties, which mean that:
In some cases getXXXComposed methods may calculate the composed values dynamically, while in other cases they may store the composed values.
| Field Summary | |
private int |
m_endImportCountComposed
|
private int |
m_importCountComposed
The precedence of this stylesheet in the global import list. |
private int |
m_importNumber
Order in import chain. |
private Vector |
m_includesComposed
The combined list of includes. |
| Fields inherited from class org.apache.xalan.templates.Stylesheet |
m_DecimalFormatDeclarations, STYLESHEET_EXT |
| Fields inherited from class org.apache.xalan.templates.ElemTemplateElement |
m_docOrderNumber, m_firstChild, m_hasVariableDecl, m_nextSibling, m_parentNode, m_prefixTable |
| Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| 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. |
(package private) void |
recomposeImports()
Recalculate the precedence of this stylesheet in the global import list. |
(package private) void |
recomposeIncludes(Stylesheet including)
Recompose the value of the composed include list. |
void |
recomposeTemplates(boolean flushFirst)
For compilation support, we need the option of overwriting (rather than appending to) previous composition. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private int m_importNumber
private int m_importCountComposed
private int m_endImportCountComposed
private transient Vector m_includesComposed
| Constructor Detail |
public StylesheetComposed(Stylesheet parent)
parent - The including or importing stylesheet.| Method Detail |
public boolean isAggregatedType()
isAggregatedType in class Stylesheet
public void recompose(Vector recomposableElements)
throws javax.xml.transform.TransformerException
recomposableElements - a Vector of ElemTemplateElement objects that we will add all of
our recomposable objects to.
javax.xml.transform.TransformerExceptionvoid recomposeImports()
public StylesheetComposed getImportComposed(int i)
throws ArrayIndexOutOfBoundsException
i - Index of stylesheet in import list
ArrayIndexOutOfBoundsExceptionpublic int getImportCountComposed()
public int getEndImportCountComposed()
void recomposeIncludes(Stylesheet including)
including - Stylesheet to recompose
public Stylesheet getIncludeComposed(int i)
throws ArrayIndexOutOfBoundsException
i - Index of stylesheet in "include" list
ArrayIndexOutOfBoundsExceptionpublic int getIncludeCountComposed()
public void recomposeTemplates(boolean flushFirst)
throws javax.xml.transform.TransformerException
flushFirst - Flag indicating the option of overwriting
(rather than appending to) previous composition.
javax.xml.transform.TransformerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||