public 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.
STYLESHEET_EXT
m_docOrderNumber, m_hasVariableDecl, m_parentNode
actualEncoding, fDocumentURI
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 and Description |
---|
StylesheetComposed(Stylesheet parent)
Uses an XSL stylesheet document.
|
Modifier and Type | Method and 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(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.
|
accept, callChildVisitors, containsExcludeResultPrefix, 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, setXmlnsXsl
appendChild, appendChild, callChildVisitors, 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, shouldStripWhiteSpace
adoptNode, 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, substringData
public StylesheetComposed(Stylesheet parent)
parent
- The including or importing stylesheet.public boolean isAggregatedType()
isAggregatedType
in class Stylesheet
public void recompose(Vector recomposableElements) throws TransformerException
recomposableElements
- a Vector of ElemTemplateElement objects that we will add all of
our recomposable objects to.TransformerException
public StylesheetComposed getImportComposed(int i) throws ArrayIndexOutOfBoundsException
i
- Index of stylesheet in import listArrayIndexOutOfBoundsException
public int getImportCountComposed()
public int getEndImportCountComposed()
public Stylesheet getIncludeComposed(int i) throws ArrayIndexOutOfBoundsException
i
- Index of stylesheet in "include" listArrayIndexOutOfBoundsException
public int getIncludeCountComposed()
public void recomposeTemplates(boolean flushFirst) throws TransformerException
flushFirst
- Flag indicating the option of overwriting
(rather than appending to) previous composition.TransformerException
Copyright © 2016 JBoss by Red Hat. All rights reserved.