|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.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.
Fields inherited from class org.apache.xalan.templates.Stylesheet |
STYLESHEET_EXT |
Constructor Summary | |
StylesheetComposed(Stylesheet parent)
Uses an XSL stylesheet document. |
Method Summary | |
java.util.Vector |
getAttributeSetComposed(QName name)
Get a list "xsl:attribute-set" properties that match the qname. |
java.text.DecimalFormatSymbols |
getDecimalFormatComposed(QName name)
Given a valid element decimal-format name, return the decimalFormatSymbols with that name. |
StylesheetComposed |
getImportComposed(int i)
Get a stylesheet from the "import" list. |
int |
getImportCountComposed()
Get the number of imported stylesheets. |
Stylesheet |
getIncludeComposed(int i)
Get an "xsl:include" property. |
int |
getIncludeCountComposed()
Get the number of included stylesheets. |
java.util.Vector |
getKeysComposed()
Get the composed "xsl:key" properties. |
java.lang.String |
getNamespaceAliasComposed(java.lang.String uri)
Get the "xsl:namespace-alias" property. |
ElemParam |
getParamComposed(QName qname)
Get an "xsl:param" property. |
java.util.Enumeration |
getParamsComposed()
Get all global "xsl:variable" properties in scope for this stylesheet. |
ElemTemplate |
getTemplateComposed(QName qname)
Get an "xsl:template" property. |
ElemTemplate |
getTemplateComposed(XPathContext support,
Node targetNode,
QName mode,
boolean quietConflictWarnings)
Get an "xsl:template" property by node match. |
TemplateList |
getTemplateListComposed()
|
ElemVariable |
getVariableComposed(QName qname)
Get an "xsl:variable" property. |
java.util.Enumeration |
getVariablesComposed()
Get all global "xsl:variable" properties in scope for this stylesheet. |
WhiteSpaceInfo |
getWhiteSpaceInfo(XPathContext support,
Element targetElement)
Get information about whether or not an element should strip whitespace. |
boolean |
isAggregatedType()
Tell if this can be cast to a StylesheetComposed, meaning, you can ask questions from getXXXComposed functions. |
void |
recomposeTemplates()
Aggregate the list of templates and included templates into a single list. |
void |
recomposeTemplates(boolean flushFirst)
For compilation support, we need the option of overwriting (rather than appending to) previous composition. |
Methods inherited from class org.apache.xalan.templates.ElemTemplateElement |
appendChild,
compose,
error,
execute,
getBaseIdentifier,
getChildNodes,
getColumnNumber,
getDeclaredPrefixes,
getDOMBackPointer,
getFirstChild,
getFirstChildElem,
getLastChild,
getLength,
getLineNumber,
getNamespaceForPrefix,
getNamespaceForPrefix,
getNextSibling,
getNextSiblingElem,
getOwnerDocument,
getParentElem,
getParentNode,
getPrefixes,
getPreviousSibling,
getPublicId,
getSystemId,
getTagName,
hasChildNodes,
isCompiledTemplate,
item,
removeChild,
replaceChild,
resolvePrefixTables,
runtimeInit,
setDOMBackPointer,
setPrefixes,
setPrefixes |
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()
public StylesheetComposed getImportComposed(int i) throws java.lang.ArrayIndexOutOfBoundsException
public int getImportCountComposed()
public Stylesheet getIncludeComposed(int i) throws java.lang.ArrayIndexOutOfBoundsException
public int getIncludeCountComposed()
public java.text.DecimalFormatSymbols getDecimalFormatComposed(QName name)
It is an error to declare either the default decimal-format or a decimal-format with a given name more than once (even with different import precedence), unless it is declared every time with the same value for all attributes (taking into account any default values).
Which means, as far as I can tell, the decimal-format properties are not additive.
public WhiteSpaceInfo getWhiteSpaceInfo(XPathContext support, Element targetElement) throws SAXException
public java.util.Vector getKeysComposed()
public java.util.Vector getAttributeSetComposed(QName name) throws java.lang.ArrayIndexOutOfBoundsException
public ElemVariable getVariableComposed(QName qname)
public java.util.Enumeration getVariablesComposed()
public ElemParam getParamComposed(QName qname)
public java.util.Enumeration getParamsComposed()
public final TemplateList getTemplateListComposed()
public void recomposeTemplates() throws SAXException
public void recomposeTemplates(boolean flushFirst) throws SAXException
public ElemTemplate getTemplateComposed(XPathContext support, Node targetNode, QName mode, boolean quietConflictWarnings) throws SAXException
public ElemTemplate getTemplateComposed(QName qname)
public java.lang.String getNamespaceAliasComposed(java.lang.String uri)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |