/*
 * @(#)DOMCDATASectionImpl.java   1.11 2000/08/16
 *
 */
package org.w3c.tidy;
import org.w3c.dom.DOMException;
/**
 *
 * DOMCDATASectionImpl
 *
 * (c) 1998-2000 (W3C) MIT, INRIA, Keio University
 * See Tidy.java for the copyright notice.
 * Derived from 
 * HTML Tidy Release 4 Aug 2000
 *
 * @author  Dave Raggett 
 * @author  Andy Quick  (translation to Java)
 * @author  Gary L Peskin 
 * @version 1.11, 2000/08/16 Tidy Release 4 Aug 2000
 */
public class DOMCDATASectionImpl extends DOMTextImpl
                            implements org.w3c.dom.CDATASection {
    protected DOMCDATASectionImpl(Node adaptee)
    {
        super(adaptee);
    }
    /* --------------------- DOM ---------------------------- */
    /**
     * @see org.w3c.dom.Node#getNodeName
     */
    public String getNodeName()
    {
        return "#cdata-section";
    }
    /**
     * @see org.w3c.dom.Node#getNodeType
     */
    public short getNodeType()
    {
        return org.w3c.dom.Node.CDATA_SECTION_NODE;
    }
}