Class CommentImpl

All Implemented Interfaces:
Serializable, Cloneable, CharacterData, Comment, EventTarget, Node, NodeList
Direct Known Subclasses:
DeferredCommentImpl

public class CommentImpl extends CharacterDataImpl implements CharacterData, Comment
Represents an XML (or HTML) comment.

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.
Since:
PR-DOM-Level-1-19980818.
Version:
$Id: CommentImpl.java 447266 2006-09-18 05:57:49Z mrglavas $
See Also:
  • Constructor Details

  • Method Details

    • getNodeType

      public short getNodeType()
      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.
      Specified by:
      getNodeType in interface Node
      Specified by:
      getNodeType in class NodeImpl
    • getNodeName

      public String getNodeName()
      Returns the node name.
      Specified by:
      getNodeName in interface Node
      Specified by:
      getNodeName in class NodeImpl