Class FreeMarkerStringTemplateCompiler
java.lang.Object
org.craftercms.core.util.template.impl.freemarker.FreeMarkerStringTemplateCompiler
- All Implemented Interfaces:
TemplateCompiler<IdentifiableStringTemplateSource>
public class FreeMarkerStringTemplateCompiler
extends Object
implements TemplateCompiler<IdentifiableStringTemplateSource>
Class description goes HERE
- Author:
- Alfonso Vásquez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompile(IdentifiableStringTemplateSource templateSource) voidsetTemplateConfiguration(freemarker.template.Configuration templateConfiguration) voidsetTemplateLoader(ConcurrentStringTemplateLoader templateLoader)
-
Constructor Details
-
FreeMarkerStringTemplateCompiler
public FreeMarkerStringTemplateCompiler()
-
-
Method Details
-
setTemplateConfiguration
public void setTemplateConfiguration(freemarker.template.Configuration templateConfiguration) -
setTemplateLoader
-
compile
public CompiledTemplate compile(IdentifiableStringTemplateSource templateSource) throws TemplateException - Specified by:
compilein interfaceTemplateCompiler<IdentifiableStringTemplateSource>- Throws:
TemplateException
-