/*
 * Decompiled with CFR 0_110.
 * 
 * Could not load the following classes:
 *  java.lang.String
 */
package org.dom4j.tree;

import org.dom4j.Element;
import org.dom4j.tree.FlyweightComment;

public class DefaultComment
extends FlyweightComment {
    private Element parent;

    public DefaultComment(String string2) {
        super(string2);
    }

    public DefaultComment(Element element, String string2) {
        super(string2);
        this.parent = element;
    }

    @Override
    public Element getParent() {
        return this.parent;
    }

    @Override
    public boolean isReadOnly() {
        return false;
    }

    @Override
    public void setParent(Element element) {
        this.parent = element;
    }

    @Override
    public void setText(String string2) {
        this.text = string2;
    }

    @Override
    public boolean supportsParent() {
        return true;
    }
}

