public class ElemExtensionDecl extends ElemTemplateElement
m_docOrderNumber, m_hasVariableDecl, m_parentNodeactualEncoding, fDocumentURIATTRIBUTE_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 |
|---|
ElemExtensionDecl()
Constructor ElemExtensionDecl
|
| Modifier and Type | Method and Description |
|---|---|
void |
compose(StylesheetRoot sroot)
This function is called after everything else has been
recomposed, and allows the template to set remaining
values that may be based on some other property that
depends on recomposition.
|
String |
getElement(int i)
Get the element at the given index
|
int |
getElementCount()
Return the count of elements defined for this extension element
|
StringVector |
getElements()
Get StringVector of elements defined for this extension
|
String |
getFunction(int i)
Get a function at a given index in this extension element
|
int |
getFunctionCount()
Get count of functions defined in this extension element
|
StringVector |
getFunctions()
Get the names of functions defined in this extension
|
String |
getPrefix()
Get the prefix for this extension element
|
int |
getXSLToken()
Get an int constant identifying the type of element.
|
void |
runtimeInit(TransformerImpl transformer)
This function will be called on top-level elements
only, just before the transform begins.
|
void |
setElements(StringVector v)
Set StringVector of elements for this extension
|
void |
setFunctions(StringVector v)
Set the names of functions defined in this extension
|
void |
setPrefix(String v)
Set the prefix for this extension element
|
accept, appendChild, appendChild, callChildVisitors, callChildVisitors, callVisitors, canAcceptVariables, canStripWhiteSpace, compareTo, containsExcludeResultPrefix, 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, getNodeName, getNodeType, getOwnerDocument, getOwnerXSLTemplate, getParentElem, getParentNode, getParentNodeElem, getPreviousSibling, getPreviousSiblingElem, getPublicId, getStylesheet, getStylesheetComposed, getStylesheetRoot, getSystemId, getTagName, getUid, getXmlSpace, handlesNullPrefixes, hasChildNodes, hasTextLitOnly, hasVariableDecl, insertBefore, isCompiledTemplate, item, recompose, removeChild, replaceChild, replaceChild, resolvePrefixTables, setDOMBackPointer, setEndLocaterInfo, setLocaterInfo, setParentElem, setPrefixes, setPrefixes, setUid, setXmlSpace, shouldStripWhiteSpaceadoptNode, 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, 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, setStrictErrorChecking, setTextContent, setUserData, setValue, setXmlEncoding, setXmlStandalone, setXmlVersion, splitText, substringDatapublic void setPrefix(String v)
setPrefix in interface NodesetPrefix in class UnImplNodev - Prefix to set for this extension elementpublic String getPrefix()
getPrefix in interface NodegetPrefix in class UnImplNodepublic void setFunctions(StringVector v)
v - StringVector holding the names of functions defined in this extensionpublic StringVector getFunctions()
public String getFunction(int i) throws ArrayIndexOutOfBoundsException
i - Index of function to getArrayIndexOutOfBoundsExceptionpublic int getFunctionCount()
public void setElements(StringVector v)
v - StringVector of elements to setpublic StringVector getElements()
public String getElement(int i) throws ArrayIndexOutOfBoundsException
i - Index of element to getArrayIndexOutOfBoundsExceptionpublic int getElementCount()
public int getXSLToken()
getXSLToken in class ElemTemplateElementConstantspublic void compose(StylesheetRoot sroot) throws TransformerException
ElemTemplateElementcompose in class ElemTemplateElementTransformerExceptionpublic void runtimeInit(TransformerImpl transformer) throws TransformerException
runtimeInit in class ElemTemplateElementtransformer - The XSLT TransformerFactory.TransformerExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.