org.apache.batik.dom

Class AbstractComment

public abstract class AbstractComment extends AbstractCharacterData implements Comment

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

Method Detail

getNodeName

public String getNodeName()
DOM: Implements {@link org.w3c.dom.Node#getNodeName()}.

Returns: "#comment".

getNodeType

public short getNodeType()
DOM: Implements {@link org.w3c.dom.Node#getNodeType()}.

Returns: {@link org.w3c.dom.Node#COMMENT_NODE}

getTextContent

public String getTextContent()
DOM: Implements {@link org.w3c.dom.Node#getTextContent()}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.