/*
 * 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.Node;
import org.dom4j.Text;
import org.dom4j.tree.AbstractText;
import org.dom4j.tree.DefaultText;

public class FlyweightText
extends AbstractText
implements Text {
    protected String text;

    public FlyweightText(String string2) {
        this.text = string2;
    }

    @Override
    protected Node createXPathResult(Element element) {
        return new DefaultText(element, this.getText());
    }

    @Override
    public String getText() {
        return this.text;
    }
}

