org.kefirsf.bb.proc.TemplateConstant Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kefirbb Show documentation
Show all versions of kefirbb Show documentation
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