Package org.w3c.tidy

Class DOMCommentImpl

  • All Implemented Interfaces:
    org.w3c.dom.CharacterData, org.w3c.dom.Comment, org.w3c.dom.Node

    public class DOMCommentImpl
    extends DOMCharacterDataImpl
    implements org.w3c.dom.Comment
    Tidy implementation of org.w3c.dom.Comment.
    Version:
    $Revision$ ($Author$)
    Author:
    Dave Raggett dsr@w3.org , Andy Quick ac.quick@sympatico.ca (translation to Java), Fabrizio Giustina
    • Constructor Detail

      • DOMCommentImpl

        protected DOMCommentImpl​(Node adaptee)
        Instantiates a new DOMCommentImpl which wraps the given Node.
        Parameters:
        adaptee - wrapped node.
    • Method Detail

      • getNodeName

        public java.lang.String getNodeName()
        Specified by:
        getNodeName in interface org.w3c.dom.Node
        Overrides:
        getNodeName in class DOMNodeImpl
        See Also:
        Node.getNodeName()
      • getNodeType

        public short getNodeType()
        Specified by:
        getNodeType in interface org.w3c.dom.Node
        Overrides:
        getNodeType in class DOMNodeImpl
        See Also:
        Node.getNodeType()