/*
 * Decompiled with CFR 0_110.
 * 
 * Could not load the following classes:
 *  java.lang.String
 *  org.w3c.dom.Comment
 *  org.w3c.dom.DOMException
 *  org.w3c.dom.Document
 *  org.w3c.dom.NamedNodeMap
 *  org.w3c.dom.Node
 *  org.w3c.dom.NodeList
 */
package org.dom4j.dom;

import org.dom4j.CharacterData;
import org.dom4j.Element;
import org.dom4j.Node;
import org.dom4j.dom.DOMNodeHelper;
import org.dom4j.tree.DefaultComment;
import org.w3c.dom.Comment;
import org.w3c.dom.DOMException;
import org.w3c.dom.Document;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.NodeList;

public class DOMComment
extends DefaultComment
implements Comment {
    public DOMComment(String string2) {
        super(string2);
    }

    public DOMComment(Element element, String string2) {
        super(element, string2);
    }

    private void checkNewChildNode(org.w3c.dom.Node node) throws DOMException {
        throw new DOMException(3, "Comment nodes cannot have children");
    }

    public org.w3c.dom.Node appendChild(org.w3c.dom.Node node) throws DOMException {
        super.checkNewChildNode(node);
        return DOMNodeHelper.appendChild((Node)this, node);
    }

    public void appendData(String string2) throws DOMException {
        DOMNodeHelper.appendData((CharacterData)this, string2);
    }

    public org.w3c.dom.Node cloneNode(boolean bl) {
        return DOMNodeHelper.cloneNode((Node)this, bl);
    }

    public void deleteData(int n, int n2) throws DOMException {
        DOMNodeHelper.deleteData((CharacterData)this, n, n2);
    }

    public NamedNodeMap getAttributes() {
        return null;
    }

    public NodeList getChildNodes() {
        return DOMNodeHelper.getChildNodes(this);
    }

    public String getData() throws DOMException {
        return DOMNodeHelper.getData(this);
    }

    public org.w3c.dom.Node getFirstChild() {
        return DOMNodeHelper.getFirstChild(this);
    }

    public org.w3c.dom.Node getLastChild() {
        return DOMNodeHelper.getLastChild(this);
    }

    public int getLength() {
        return DOMNodeHelper.getLength(this);
    }

    public String getLocalName() {
        return DOMNodeHelper.getLocalName(this);
    }

    public String getNamespaceURI() {
        return DOMNodeHelper.getNamespaceURI(this);
    }

    public org.w3c.dom.Node getNextSibling() {
        return DOMNodeHelper.getNextSibling(this);
    }

    public String getNodeName() {
        return "#comment";
    }

    public String getNodeValue() throws DOMException {
        return DOMNodeHelper.getNodeValue(this);
    }

    public Document getOwnerDocument() {
        return DOMNodeHelper.getOwnerDocument(this);
    }

    public org.w3c.dom.Node getParentNode() {
        return DOMNodeHelper.getParentNode(this);
    }

    public String getPrefix() {
        return DOMNodeHelper.getPrefix(this);
    }

    public org.w3c.dom.Node getPreviousSibling() {
        return DOMNodeHelper.getPreviousSibling(this);
    }

    public boolean hasAttributes() {
        return DOMNodeHelper.hasAttributes(this);
    }

    public boolean hasChildNodes() {
        return DOMNodeHelper.hasChildNodes(this);
    }

    public org.w3c.dom.Node insertBefore(org.w3c.dom.Node node, org.w3c.dom.Node node2) throws DOMException {
        super.checkNewChildNode(node);
        return DOMNodeHelper.insertBefore((Node)this, node, node2);
    }

    public void insertData(int n, String string2) throws DOMException {
        DOMNodeHelper.insertData((CharacterData)this, n, string2);
    }

    public boolean isSupported(String string2, String string3) {
        return DOMNodeHelper.isSupported((Node)this, string2, string3);
    }

    public void normalize() {
        DOMNodeHelper.normalize(this);
    }

    public org.w3c.dom.Node removeChild(org.w3c.dom.Node node) throws DOMException {
        return DOMNodeHelper.removeChild((Node)this, node);
    }

    public org.w3c.dom.Node replaceChild(org.w3c.dom.Node node, org.w3c.dom.Node node2) throws DOMException {
        super.checkNewChildNode(node);
        return DOMNodeHelper.replaceChild((Node)this, node, node2);
    }

    public void replaceData(int n, int n2, String string2) throws DOMException {
        DOMNodeHelper.replaceData((CharacterData)this, n, n2, string2);
    }

    public void setData(String string2) throws DOMException {
        DOMNodeHelper.setData((CharacterData)this, string2);
    }

    public void setNodeValue(String string2) throws DOMException {
        DOMNodeHelper.setNodeValue((Node)this, string2);
    }

    public void setPrefix(String string2) throws DOMException {
        DOMNodeHelper.setPrefix((Node)this, string2);
    }

    public String substringData(int n, int n2) throws DOMException {
        return DOMNodeHelper.substringData((CharacterData)this, n, n2);
    }

    public boolean supports(String string2, String string3) {
        return DOMNodeHelper.supports((Node)this, string2, string3);
    }
}

