|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xml.utils.UnImplNode | +--weblogic.apache.xalan.templates.ElemTemplateElement | +--weblogic.apache.xalan.templates.Stylesheet | +--weblogic.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.
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Fields inherited from class weblogic.apache.xalan.templates.Stylesheet |
STYLESHEET_EXT |
Fields inherited from class weblogic.apache.xalan.templates.ElemTemplateElement |
m_docOrderNumber,
m_parentNode |
Constructor Summary | |
StylesheetComposed(Stylesheet parent)
Uses an XSL stylesheet document. |
Method Summary | |
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 weblogic.apache.xalan.templates.ElemTemplateElement |
appendChild,
canStripWhiteSpace,
compareTo,
compose,
error,
error,
execute,
getBaseIdentifier,
getChildNodes,
getColumnNumber,
getDeclaredPrefixes,
getDOMBackPointer,
getFirstChild,
getFirstChildElem,
getLastChild,
getLength,
getLineNumber,
getNamespaceForPrefix,
getNamespaceForPrefix,
getNextSibling,
getNextSiblingElem,
getOwnerDocument,
getParentElem,
getParentNode,
getPrefixes,
getPreviousSibling,
getPublicId,
getSystemId,
getTagName,
getUid,
getXmlSpace,
hasChildNodes,
isCompiledTemplate,
isValidNCName,
item,
recompose,
removeChild,
replaceChild,
resolvePrefixTables,
runtimeInit,
setDOMBackPointer,
setPrefixes,
setPrefixes,
setUid,
setXmlSpace,
shouldStripWhiteSpace |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
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()
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.public StylesheetComposed getImportComposed(int i) throws java.lang.ArrayIndexOutOfBoundsException
i
- Index of stylesheet in import listpublic int getImportCountComposed()
public Stylesheet getIncludeComposed(int i) throws java.lang.ArrayIndexOutOfBoundsException
i
- Index of stylesheet in "include" listpublic 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.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |