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 Constructor Description FreeMarkerStringTemplateCompiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompiledTemplate
compile(IdentifiableStringTemplateSource templateSource)
void
setTemplateConfiguration(freemarker.template.Configuration templateConfiguration)
void
setTemplateLoader(ConcurrentStringTemplateLoader templateLoader)
-
-
-
Method Detail
-
setTemplateConfiguration
public void setTemplateConfiguration(freemarker.template.Configuration templateConfiguration)
-
setTemplateLoader
public void setTemplateLoader(ConcurrentStringTemplateLoader templateLoader)
-
compile
public CompiledTemplate compile(IdentifiableStringTemplateSource templateSource) throws TemplateException
- Specified by:
compile
in interfaceTemplateCompiler<IdentifiableStringTemplateSource>
- Throws:
TemplateException
-
-