Top Description Fields Constructors Methods
org.apache.xerces.dom

public Class CommentImpl

extends CharacterDataImpl
implements CharacterData, Comment
Class Inheritance
All Implemented Interfaces
org.w3c.dom.Comment, org.w3c.dom.CharacterData, org.w3c.dom.Node
Known Direct Subclasses
org.apache.xerces.dom.DeferredCommentImpl
Imports
org.w3c.dom.CharacterData, .Comment, .Node

Represents an XML (or HTML) comment.
Since
PR-DOM-Level-1-19980818.
Version
$Id: CommentImpl.java 447266 2006-09-18 05:57:49Z mrglavas $

Field Summary

Modifier and TypeField and Description
pack-priv static final long
Inherited from org.apache.xerces.dom.CharacterDataImpl:
data

Constructor Summary

AccessConstructor and Description
public
CommentImpl(CoreDocumentImpl ownerDoc, String data)

Factory constructor.

Method Summary

Modifier and TypeMethod and Description
public String
getNodeName()

Implements abstract org.apache.xerces.dom.NodeImpl.getNodeName.

Implements org.w3c.dom.Node.getNodeName.

Returns the node name.
public short
getNodeType()

Implements abstract org.apache.xerces.dom.NodeImpl.getNodeType.

Implements org.w3c.dom.Node.getNodeType.

A short integer indicating what type of node this is.
Inherited from org.apache.xerces.dom.CharacterDataImpl:
appendDatadeleteDatagetChildNodesgetDatagetLengthgetNodeValueinsertDatainternalDeleteDatainternalInsertDatareplaceDatasetDatasetNodeValuesetNodeValueInternalsetNodeValueInternalsubstringData

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides org.apache.xerces.dom.CharacterDataImpl.serialVersionUID.

Serialization version.

Constructor Detail

CommentImplback to summary
public CommentImpl(CoreDocumentImpl ownerDoc, String data)

Factory constructor.

Method Detail

getNodeNameback to summary
public String getNodeName()

Implements abstract org.apache.xerces.dom.NodeImpl.getNodeName.

Implements org.w3c.dom.Node.getNodeName.

Returns the node name.

getNodeTypeback to summary
public short getNodeType()

Implements abstract org.apache.xerces.dom.NodeImpl.getNodeType.

Implements org.w3c.dom.Node.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.