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

import org.dom4j.Comment;
import org.dom4j.Element;
import org.dom4j.Node;
import org.dom4j.tree.AbstractComment;
import org.dom4j.tree.DefaultComment;

public class FlyweightComment
extends AbstractComment
implements Comment {
    protected String text;

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

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

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

