FileDocCategorySizeDatePackage
CommentImpl.javaAPI DocJava SE 6 API1762Tue Jun 10 00:22:36 BST 2008com.sun.org.apache.xerces.internal.dom

CommentImpl

public class CommentImpl extends CharacterDataImpl implements Comment, CharacterData
Represents an XML (or HTML) comment.
xerces.internal
version
$Id: CommentImpl.java,v 1.2.6.1 2005/08/30 11:37:06 sunithareddy Exp $
since
PR-DOM-Level-1-19980818.

Fields Summary
static final long
serialVersionUID
Serialization version.
Constructors Summary
public CommentImpl(CoreDocumentImpl ownerDoc, String data)
Factory constructor.


    //
    // Constructors
    //

       
         
    	super(ownerDoc, data);
    
Methods Summary
public java.lang.StringgetNodeName()
Returns the node name.

        return "#comment";
    
public shortgetNodeType()
A short integer indicating what type of node this is. The named constants for this value are defined in the org.w3c.dom.Node interface.

        return Node.COMMENT_NODE;