|
||||||||||
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
public class 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 |
---|
Fields inherited from class org.apache.xalan.templates.Stylesheet |
---|
STYLESHEET_EXT |
Fields inherited from interface org.w3c.dom.Node |
---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, 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(java.util.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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StylesheetComposed(Stylesheet parent)
parent
- The including or importing stylesheet.Method Detail |
---|
public boolean isAggregatedType()
isAggregatedType
in class Stylesheet
public void recompose(java.util.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.TransformerException
public StylesheetComposed getImportComposed(int i) throws java.lang.ArrayIndexOutOfBoundsException
i
- Index of stylesheet in import list
java.lang.ArrayIndexOutOfBoundsException
public int getImportCountComposed()
public int getEndImportCountComposed()
public Stylesheet getIncludeComposed(int i) throws java.lang.ArrayIndexOutOfBoundsException
i
- Index of stylesheet in "include" list
java.lang.ArrayIndexOutOfBoundsException
public 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 |