FileDocCategorySizeDatePackage
CommentImpl.javaAPI DocApache Xerces 3.0.11980Fri Sep 14 20:33:56 BST 2007org.apache.xerces.dom

CommentImpl

public class CommentImpl extends CharacterDataImpl implements Comment, CharacterData
Represents an XML (or HTML) comment.
xerces.internal
version
$Id: CommentImpl.java 447266 2006-09-18 05:57:49Z mrglavas $
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;