org.apache.xerces.dom

Class CommentImpl

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,v 1.9 2004/10/05 17:12:50 mrglavas Exp $

Constructor Summary
CommentImpl(CoreDocumentImpl ownerDoc, String data)
Factory constructor.
Method Summary
StringgetNodeName()
Returns the node name.
shortgetNodeType()
A short integer indicating what type of node this is.

Constructor Detail

CommentImpl

public CommentImpl(CoreDocumentImpl ownerDoc, String data)
Factory constructor.

Method Detail

getNodeName

public String getNodeName()
Returns the node name.

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.
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.