Class SpELStringTemplateCompiler
java.lang.Object
org.craftercms.core.util.template.impl.spel.SpELStringTemplateCompiler
- All Implemented Interfaces:
TemplateCompiler<IdentifiableStringTemplateSource>
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.InitializingBean
public class SpELStringTemplateCompiler
extends Object
implements TemplateCompiler<IdentifiableStringTemplateSource>, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean
Class description goes HERE
- Author:
- Alfonso Vásquez
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
compile
(IdentifiableStringTemplateSource templateSource) void
setBeanFactory
(org.springframework.beans.factory.BeanFactory beanFactory) void
setEvalContext
(org.springframework.expression.EvaluationContext evalContext) void
setParserContext
(org.springframework.expression.ParserContext parserContext)
-
Constructor Details
-
SpELStringTemplateCompiler
public SpELStringTemplateCompiler()
-
-
Method Details
-
setParserContext
public void setParserContext(org.springframework.expression.ParserContext parserContext) -
setEvalContext
public void setEvalContext(org.springframework.expression.EvaluationContext evalContext) -
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
setBeanFactory
in interfaceorg.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
compile
public CompiledTemplate compile(IdentifiableStringTemplateSource templateSource) throws TemplateException - Specified by:
compile
in interfaceTemplateCompiler<IdentifiableStringTemplateSource>
- Throws:
TemplateException
-