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

import org.dom4j.CDATA;
import org.dom4j.Element;
import org.dom4j.Node;
import org.dom4j.tree.AbstractCDATA;
import org.dom4j.tree.DefaultCDATA;

public class FlyweightCDATA
extends AbstractCDATA
implements CDATA {
    protected String text;

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

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

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

