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

import org.dom4j.Attribute;
import org.dom4j.DocumentFactory;
import org.dom4j.Element;
import org.dom4j.QName;
import org.dom4j.util.UserDataAttribute;
import org.dom4j.util.UserDataElement;

public class UserDataDocumentFactory
extends DocumentFactory {
    protected static transient UserDataDocumentFactory singleton = new UserDataDocumentFactory();

    public static DocumentFactory getInstance() {
        return singleton;
    }

    @Override
    public Attribute createAttribute(Element element, QName qName, String string2) {
        return new UserDataAttribute(qName, string2);
    }

    @Override
    public Element createElement(QName qName) {
        return new UserDataElement(qName);
    }
}

