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

public class AttributeDecl {
    private String attributeName;
    private String elementName;
    private String type;
    private String value;
    private String valueDefault;

    public AttributeDecl() {
    }

    public AttributeDecl(String string2, String string3, String string4, String string5, String string6) {
        this.elementName = string2;
        this.attributeName = string3;
        this.type = string4;
        this.value = string6;
        this.valueDefault = string5;
    }

    public String getAttributeName() {
        return this.attributeName;
    }

    public String getElementName() {
        return this.elementName;
    }

    public String getType() {
        return this.type;
    }

    public String getValue() {
        return this.value;
    }

    public String getValueDefault() {
        return this.valueDefault;
    }

    public void setAttributeName(String string2) {
        this.attributeName = string2;
    }

    public void setElementName(String string2) {
        this.elementName = string2;
    }

    public void setType(String string2) {
        this.type = string2;
    }

    public void setValue(String string2) {
        this.value = string2;
    }

    public void setValueDefault(String string2) {
        this.valueDefault = string2;
    }

    /*
     * Enabled aggressive block sorting
     */
    public String toString() {
        StringBuffer stringBuffer = new StringBuffer("<!ATTLIST ");
        stringBuffer.append(this.elementName);
        stringBuffer.append(" ");
        stringBuffer.append(this.attributeName);
        stringBuffer.append(" ");
        stringBuffer.append(this.type);
        stringBuffer.append(" ");
        if (this.valueDefault != null) {
            stringBuffer.append(this.valueDefault);
            if (this.valueDefault.equals((Object)"#FIXED")) {
                stringBuffer.append(" \"");
                stringBuffer.append(this.value);
                stringBuffer.append("\"");
            }
        } else {
            stringBuffer.append("\"");
            stringBuffer.append(this.value);
            stringBuffer.append("\"");
        }
        stringBuffer.append(">");
        return stringBuffer.toString();
    }
}

