CommentImpl.javaAPI DocAndroid 1.5 API1529Wed May 06 22:41:06 BST 2009org.apache.harmony.xml.dom


public class CommentImpl extends CharacterDataImpl implements Comment
Provides a straightforward implementation of the corresponding W3C DOM interface. The class is used internally only, thus only notable members that are not in the original interface are documented (the W3C docs are quite extensive). Hope that's ok.

Some of the fields may have package visibility, so other classes belonging to the DOM implementation can easily access them while maintaining the DOM tree structure.

Fields Summary
Constructors Summary
CommentImpl(DocumentImpl document, String data)

        super(document, data);
Methods Summary
public java.lang.StringgetNodeName()

        return "#comment";
public shortgetNodeType()

        return Node.COMMENT_NODE;