/*
 * 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.FlyweightEntity;

public class DefaultEntity
extends FlyweightEntity {
    private Element parent;

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

    public DefaultEntity(String string2, String string3) {
        super(string2, string3);
    }

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

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

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

    @Override
    public void setName(String string2) {
        this.name = string2;
    }

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

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

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

