public class SpELStringTemplateCompiler extends Object implements TemplateCompiler<IdentifiableStringTemplateSource>, org.springframework.beans.factory.BeanFactoryAware
| Constructor and Description |
|---|
SpELStringTemplateCompiler() |
| Modifier and Type | Method and Description |
|---|---|
CompiledTemplate |
compile(IdentifiableStringTemplateSource templateSource) |
void |
init() |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setEvalContext(org.springframework.expression.EvaluationContext evalContext) |
void |
setParserContext(org.springframework.expression.ParserContext parserContext) |
public void setParserContext(org.springframework.expression.ParserContext parserContext)
public void setEvalContext(org.springframework.expression.EvaluationContext evalContext)
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansException@PostConstruct public void init()
public CompiledTemplate compile(IdentifiableStringTemplateSource templateSource) throws TemplateException
compile in interface TemplateCompiler<IdentifiableStringTemplateSource>TemplateExceptionCopyright © 2018 CrafterCMS. All rights reserved.