APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.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
com.sun.org.apache.xerces.internal.dom.DeferredCommentImpl
Imports
org.w3c.dom.CharacterData, .Comment, .Node

Represents an XML (or HTML) comment.
Since
PR-DOM-Level-1-19980818.

Field Summary

Modifier and TypeField and Description
pack-priv static final long
Inherited from com.sun.org.apache.xerces.internal.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
public short
getNodeType()

Implements abstract com.sun.org.apache.xerces.internal.dom.NodeImpl.getNodeType.

Implements org.w3c.dom.Node.getNodeType.

A short integer indicating what type of node this is.

Inherited from com.sun.org.apache.xerces.internal.dom.CharacterDataImpl:
appendDatadeleteDatagetChildNodesgetDatagetLengthgetNodeValueinsertDatainternalDeleteDatainternalInsertDatareplaceDatasetDatasetNodeValuesetNodeValueInternalsetNodeValueInternalsubstringData

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.dom.NodeImpl.getNodeName.

Implements org.w3c.dom.Node.getNodeName.

Returns the node name.

getNodeTypeback to summary
public short getNodeType()

Implements abstract com.sun.org.apache.xerces.internal.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.