public class

CommentImpl

extends CharacterDataImpl
implements CharacterData Comment
java.lang.Object
   ↳ org.apache.xerces.dom.NodeImpl
     ↳ org.apache.xerces.dom.ChildNode
       ↳ org.apache.xerces.dom.CharacterDataImpl
         ↳ org.apache.xerces.dom.CommentImpl
Known Direct Subclasses

Class Overview

Represents an XML (or HTML) comment.@xerces.internal

Summary

[Expand]
Inherited Constants
From class org.apache.xerces.dom.NodeImpl
From interface org.w3c.dom.Node
[Expand]
Inherited Fields
From class org.apache.xerces.dom.CharacterDataImpl
From class org.apache.xerces.dom.ChildNode
From class org.apache.xerces.dom.NodeImpl
Public Constructors
CommentImpl(CoreDocumentImpl ownerDoc, String data)
Factory constructor.
Public Methods
String getNodeName()
Returns the node name.
short getNodeType()
A short integer indicating what type of node this is.
[Expand]
Inherited Methods
From class org.apache.xerces.dom.CharacterDataImpl
From class org.apache.xerces.dom.ChildNode
From class org.apache.xerces.dom.NodeImpl
From class java.lang.Object
From interface org.w3c.dom.CharacterData
From interface org.w3c.dom.Node
From interface org.w3c.dom.NodeList
From interface org.w3c.dom.events.EventTarget

Public Constructors

public CommentImpl (CoreDocumentImpl ownerDoc, String data)

Factory constructor.

Public Methods

public String getNodeName ()

Returns the node name.

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.