org.apache.xalan.templates
Class ElemCopyOf
- Document, Element, ExpressionNode, Node, NodeList, PrefixResolver, Serializable, SourceLocator, WhitespaceStrippingElementMatcher, XSLTVisitable
Implement xsl:copy-of.
<!ELEMENT xsl:copy-of EMPTY>
<!ATTLIST xsl:copy-of select %expr; #REQUIRED>
copy-of in XSLT Specification
ATTRIBUTE_NODE , CDATA_SECTION_NODE , COMMENT_NODE , DOCUMENT_FRAGMENT_NODE , DOCUMENT_NODE , DOCUMENT_TYPE_NODE , ELEMENT_NODE , ENTITY_NODE , ENTITY_REFERENCE_NODE , NOTATION_NODE , PROCESSING_INSTRUCTION_NODE , TEXT_NODE |
ElemTemplateElement | appendChild(ElemTemplateElement newChild) - Add a child to the child list.
|
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.
|
void | execute(TransformerImpl transformer) - The xsl:copy-of element can be used to insert a result tree
fragment into the result tree, without first converting it to
a string as xsl:value-of does (see [7.6.1 Generating Text with
xsl:value-of]).
|
String | getNodeName() - Return the node name.
|
XPath | getSelect() - Get the "select" attribute.
|
int | getXSLToken() - Get an int constant identifying the type of element.
|
void | setSelect(XPath expr) - Set the "select" attribute.
|
appendChild , appendChild , callVisitors , canAcceptVariables , canStripWhiteSpace , compareTo , compose , containsExcludeResultPrefix , endCompose , error , error , execute , exprAddChild , exprGetChild , exprGetNumChildren , exprGetParent , exprSetParent , getBaseIdentifier , getChildNodes , getColumnNumber , getDOMBackPointer , getDeclaredPrefixes , getEndColumnNumber , getEndLineNumber , getFirstChild , getFirstChildElem , getLastChild , getLastChildElem , getLength , getLineNumber , getLocalName , getNamespaceForPrefix , getNamespaceForPrefix , getNextSibling , getNextSiblingElem , getNodeName , getNodeType , getOwnerDocument , getOwnerXSLTemplate , getParentElem , getParentNode , getParentNodeElem , getPrefixes , getPreviousSibling , getPreviousSiblingElem , getPublicId , getStylesheet , getStylesheetComposed , getStylesheetRoot , getSystemId , getTagName , getUid , getXSLToken , getXmlSpace , handlesNullPrefixes , hasChildNodes , hasTextLitOnly , hasVariableDecl , insertBefore , isCompiledTemplate , item , recompose , removeChild , replaceChild , replaceChild , resolvePrefixTables , runtimeInit , setDOMBackPointer , setEndLocaterInfo , setLocaterInfo , setParentElem , setPrefixes , setPrefixes , setUid , setXmlSpace , shouldStripWhiteSpace |
adoptNode , appendChild , appendData , cloneNode , createAttribute , createAttributeNS , createCDATASection , createComment , createDocumentFragment , createElement , createElementNS , createEntityReference , createProcessingInstruction , createTextNode , deleteData , error , error , getAttribute , getAttributeNS , getAttributeNode , getAttributeNodeNS , getAttributes , getChildNodes , getDoctype , getDocumentElement , getElementById , getElementsByTagName , getElementsByTagNameNS , getEncoding , getFirstChild , getImplementation , getLastChild , getLength , getLocalName , getNamespaceURI , getNextSibling , getNodeName , getNodeType , getNodeValue , getOwnerDocument , getOwnerElement , getParentNode , getPrefix , getPreviousSibling , getSpecified , getStandalone , getStrictErrorChecking , getTagName , getVersion , hasAttribute , hasAttributeNS , hasAttributes , hasChildNodes , importNode , insertBefore , insertData , isSupported , item , normalize , removeAttribute , removeAttributeNS , removeAttributeNode , removeChild , replaceChild , replaceData , setAttribute , setAttributeNS , setAttributeNode , setAttributeNodeNS , setData , setEncoding , setNodeValue , setPrefix , setStandalone , setStrictErrorChecking , setValue , setVersion , splitText , substringData |
m_selectExpression
public XPath m_selectExpression
The required select attribute contains an expression.
compose
public void compose(StylesheetRoot sroot)
throws TransformerException
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.
- compose in interface ElemTemplateElement
execute
public void execute(TransformerImpl transformer)
throws TransformerException
The xsl:copy-of element can be used to insert a result tree
fragment into the result tree, without first converting it to
a string as xsl:value-of does (see [7.6.1 Generating Text with
xsl:value-of]).
- execute in interface ElemTemplateElement
transformer
- non-null reference to the the current transform-time state.
TransformerException
-
getSelect
public XPath getSelect()
Get the "select" attribute.
The required select attribute contains an expression.
- Expression for select attribute
getXSLToken
public int getXSLToken()
Get an int constant identifying the type of element.
- getXSLToken in interface ElemTemplateElement
- The token ID for this element
Constants
setSelect
public void setSelect(XPath expr)
Set the "select" attribute.
The required select attribute contains an expression.
expr
- Expression for select attribute
Copyright B) 2004 Apache XML Project. All Rights Reserved.