All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kefirsf.bb.proc.TemplateConstant Maven / Gradle / Ivy

Go to download

KefirBB is a Java-library for text processing. Initially it was developed for BB2HTML translation. But flexible configuration allows to use it in different cases. For example for parsing Markdown, Textile, and for HTML filtration.

The newest version!
package org.kefirsf.bb.proc;

/**
 * @author kefir
 */
public class TemplateConstant implements ProcTemplateElement {
    private final String value;

    public TemplateConstant(String value) {
        this.value = value;
    }

    public CharSequence generate(Context context) {
        return value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy