org.apache.xalan.templates

Class ElemComment

public class ElemComment extends ElemTemplateElement

Implement xsl:comment.
 
 
 

See Also: section-Creating-Comments in XSLT Specification

UNKNOWN: advanced

Method Summary
ElemTemplateElementappendChild(ElemTemplateElement newChild)
Add a child to the child list.
voidexecute(TransformerImpl transformer)
Execute the xsl:comment transformation
StringgetNodeName()
Return the node name.
intgetXSLToken()
Get an int constant identifying the type of element.

Method Detail

appendChild

public ElemTemplateElement appendChild(ElemTemplateElement newChild)
Add a child to the child list.

Parameters: newChild Child to add to this node's child list

Returns: Child that was just added to child list

Throws: DOMException

execute

public void execute(TransformerImpl transformer)
Execute the xsl:comment transformation

Parameters: transformer non-null reference to the the current transform-time state.

Throws: TransformerException

getNodeName

public String getNodeName()
Return the node name.

Returns: This element's name

getXSLToken

public int getXSLToken()
Get an int constant identifying the type of element.

Returns: The token ID for this element

See Also:

Copyright B) 2005 Apache XML Project. All Rights Reserved.