CommentImplpublic class CommentImpl extends CharacterDataImpl implements Comment, CharacterDataRepresents an XML (or HTML) comment. |
Fields Summary |
---|
static final long | serialVersionUIDSerialization version. |
Constructors Summary |
---|
public CommentImpl(CoreDocumentImpl ownerDoc, String data)Factory constructor.
//
// Constructors
//
super(ownerDoc, data);
|
Methods Summary |
---|
public java.lang.String | getNodeName()Returns the node name.
return "#comment";
| 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.
return Node.COMMENT_NODE;
|
|