org.apache.batik.dom

Class AbstractComment

public abstract class AbstractComment extends AbstractCharacterData implements Comment

This class implements the org.w3c.dom.Comment interface.
Method Summary
StringgetNodeName()
DOM: Implements org.w3c.dom.Node#getNodeName().
shortgetNodeType()
DOM: Implements org.w3c.dom.Node#getNodeType().
StringgetTextContent()
DOM: Implements org.w3c.dom.Node#getTextContent().

Method Detail

getNodeName

public String getNodeName()
DOM: Implements org.w3c.dom.Node#getNodeName().

Returns: "#comment".

getNodeType

public short getNodeType()
DOM: Implements org.w3c.dom.Node#getNodeType().

Returns: org.w3c.dom.Node#COMMENT_NODE

getTextContent

public String getTextContent()
DOM: Implements org.w3c.dom.Node#getTextContent().
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.