*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / tidy / DOMCommentImpl.java
1 /*
2  * @(#)DOMCommentImpl.java   1.11 2000/08/16
3  *
4  */
5
6 package net.sourceforge.phpdt.tidy;
7
8
9 /**
10  *
11  * DOMCommentImpl
12  *
13  * (c) 1998-2000 (W3C) MIT, INRIA, Keio University
14  * See Tidy.java for the copyright notice.
15  * Derived from <a href="http://www.w3.org/People/Raggett/tidy">
16  * HTML Tidy Release 4 Aug 2000</a>
17  *
18  * @author  Dave Raggett <dsr@w3.org>
19  * @author  Andy Quick <ac.quick@sympatico.ca> (translation to Java)
20  * @version 1.7, 1999/12/06 Tidy Release 30 Nov 1999
21  * @version 1.8, 2000/01/22 Tidy Release 13 Jan 2000
22  * @version 1.9, 2000/06/03 Tidy Release 30 Apr 2000
23  * @version 1.10, 2000/07/22 Tidy Release 8 Jul 2000
24  * @version 1.11, 2000/08/16 Tidy Release 4 Aug 2000
25  */
26
27 public class DOMCommentImpl extends DOMCharacterDataImpl
28                             implements org.w3c.dom.Comment {
29
30     protected DOMCommentImpl(Node adaptee)
31     {
32         super(adaptee);
33     }
34
35
36     /* --------------------- DOM ---------------------------- */
37
38     /**
39      * @see org.w3c.dom.Node#getNodeName
40      */
41     public String getNodeName()
42     {
43         return "#comment";
44     }
45
46     /**
47      * @see org.w3c.dom.Node#getNodeType
48      */
49     public short getNodeType()
50     {
51         return org.w3c.dom.Node.COMMENT_NODE;
52     }
53
54 }