java.io.Serializable, javax.xml.transform.SourceLocator, XSLTVisitable, PrefixResolver, ExpressionNode, WhitespaceStrippingElementMatcher, org.w3c.dom.Document, org.w3c.dom.Element, org.w3c.dom.Node, org.w3c.dom.NodeListStylesheetRootpublic 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.
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_NODESTYLESHEET_EXT| Constructor | Description |
|---|---|
StylesheetComposed(Stylesheet parent) |
Uses an XSL stylesheet document.
|
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
appendChild, appendChild, callVisitors, canAcceptVariables, canStripWhiteSpace, compareTo, compose, endCompose, error, error, execute, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getBaseIdentifier, getChildNodes, getColumnNumber, getDeclaredPrefixes, getDOMBackPointer, getEndColumnNumber, getEndLineNumber, getFirstChild, getFirstChildElem, getLastChild, getLastChildElem, getLength, getLineNumber, getLocalName, getNamespaceForPrefix, getNamespaceForPrefix, getNextSibling, getNextSiblingElem, getOwnerDocument, getOwnerXSLTemplate, getParentElem, getParentNode, getParentNodeElem, getPreviousSibling, getPreviousSiblingElem, getPublicId, getSystemId, getTagName, getUid, getXmlSpace, handlesNullPrefixes, hasChildNodes, hasTextLitOnly, hasVariableDecl, insertBefore, isCompiledTemplate, item, recompose, removeChild, replaceChild, replaceChild, resolvePrefixTables, runtimeInit, setDOMBackPointer, setEndLocaterInfo, setParentElem, setPrefixes, setPrefixes, setUid, setXmlSpace, shouldStripWhiteSpaceequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsExcludeResultPrefix, containsExtensionElementURI, getAttributeSet, getAttributeSetCount, getCompatibleMode, getDecimalFormat, getDecimalFormat, getDecimalFormatCount, getExcludeResultPrefix, getExcludeResultPrefixCount, getExtensionElementPrefix, getExtensionElementPrefixCount, getHref, getId, getImport, getImportCount, getInclude, getIncludeCount, getKey, getKeyCount, getNamespaceAlias, getNamespaceAliasCount, getNodeName, getNodeType, getNonXslTopLevel, getOutput, getOutputCount, getParam, getPreserveSpace, getPreserveSpaceCount, getStripSpace, getStripSpaceCount, getStylesheet, getStylesheetComposed, getStylesheetParent, getStylesheetRoot, getTemplate, getTemplateCount, getVariable, getVariableOrParam, getVariableOrParam, getVariableOrParamCount, getVersion, getXmlnsXsl, getXSLToken, isRoot, replaceTemplate, setAttributeSet, setDecimalFormat, setExcludeResultPrefixes, setExtensionElementPrefixes, setHref, setId, setImport, setInclude, setKey, setLocaterInfo, setNamespaceAlias, setNonXslTopLevel, setOutput, setParam, setPreserveSpaces, setStripSpaces, setStylesheetParent, setStylesheetRoot, setTemplate, setVariable, setVersion, setXmlnsXsladoptNode, appendData, cloneNode, compareDocumentPosition, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, deleteData, getActualEncoding, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getDoctype, getDocumentElement, getDocumentURI, getDomConfig, getElementById, getElementsByTagName, getElementsByTagNameNS, getFeature, getImplementation, getInputEncoding, getNamespaceURI, getNodeValue, getOwnerElement, getPrefix, getSchemaTypeInfo, getSpecified, getStrictErrorChecking, getTextContent, getUserData, getWholeText, getXmlEncoding, getXmlStandalone, getXmlVersion, hasAttribute, hasAttributeNS, hasAttributes, importNode, insertData, isDefaultNamespace, isEqualNode, isId, isSameNode, isSupported, isWhitespaceInElementContent, lookupNamespaceURI, lookupPrefix, normalize, normalizeDocument, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, renameNode, replaceData, replaceWholeText, setActualEncoding, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setData, setDocumentURI, setIdAttribute, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInputEncoding, setNodeValue, setPrefix, setStrictErrorChecking, setTextContent, setUserData, setValue, setXmlEncoding, setXmlStandalone, setXmlVersion, splitText, substringDatapublic StylesheetComposed(Stylesheet parent)
parent - The including or importing stylesheet.public boolean isAggregatedType()
isAggregatedType in class Stylesheetpublic 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.TransformerExceptionpublic StylesheetComposed getImportComposed(int i) throws java.lang.ArrayIndexOutOfBoundsException
i - Index of stylesheet in import listjava.lang.ArrayIndexOutOfBoundsExceptionpublic int getImportCountComposed()
public int getEndImportCountComposed()
public Stylesheet getIncludeComposed(int i) throws java.lang.ArrayIndexOutOfBoundsException
i - Index of stylesheet in "include" listjava.lang.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.TransformerExceptionCopyright © 2014 Apache XML Project. All Rights Reserved.