FileDocCategorySizeDatePackage
CommentImpl.javaAPI DocJava SE 5 API3800Fri Aug 26 14:55:42 BST 2005com.sun.org.apache.xerces.internal.dom

CommentImpl

public class CommentImpl extends CharacterDataImpl implements Comment, CharacterData
Represents an XML (or HTML) comment.
version
$Id: CommentImpl.java,v 1.7 2002/01/29 01:15:07 lehors 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;