KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3c > tidy > DOMCDATASectionImpl


1 /*
2  * @(#)DOMCDATASectionImpl.java 1.11 2000/08/16
3  *
4  */

5
6 package org.w3c.tidy;
7
8 import org.w3c.dom.DOMException JavaDoc;
9
10 /**
11  *
12  * DOMCDATASectionImpl
13  *
14  * (c) 1998-2000 (W3C) MIT, INRIA, Keio University
15  * See Tidy.java for the copyright notice.
16  * Derived from <a HREF="http://www.w3.org/People/Raggett/tidy">
17  * HTML Tidy Release 4 Aug 2000</a>
18  *
19  * @author Dave Raggett <dsr@w3.org>
20  * @author Andy Quick <ac.quick@sympatico.ca> (translation to Java)
21  * @author Gary L Peskin <garyp@firstech.com>
22  * @version 1.11, 2000/08/16 Tidy Release 4 Aug 2000
23  */

24
25 public class DOMCDATASectionImpl extends DOMTextImpl
26                             implements org.w3c.dom.CDATASection JavaDoc {
27
28     protected DOMCDATASectionImpl(Node adaptee)
29     {
30         super(adaptee);
31     }
32
33
34     /* --------------------- DOM ---------------------------- */
35
36     /**
37      * @see org.w3c.dom.Node#getNodeName
38      */

39     public String JavaDoc getNodeName()
40     {
41         return "#cdata-section";
42     }
43
44     /**
45      * @see org.w3c.dom.Node#getNodeType
46      */

47     public short getNodeType()
48     {
49         return org.w3c.dom.Node.CDATA_SECTION_NODE;
50     }
51 }
52
Popular Tags