public class TemplateRender extends Object
Modifier and Type | Method and Description |
---|---|
TemplateContext |
assemblyContext(org.aopalliance.intercept.MethodInvocation invocation) |
Object |
getParamValue(TemplateContext context,
String key) |
static TemplateRender |
newInstance(org.springframework.core.ParameterNameDiscoverer parameterNameDiscoverer) |
String |
renderTemplate(org.aopalliance.intercept.MethodInvocation invocation,
String content) |
String |
renderTemplate(TemplateContext context,
String content) |
public static TemplateRender newInstance(org.springframework.core.ParameterNameDiscoverer parameterNameDiscoverer)
public String renderTemplate(org.aopalliance.intercept.MethodInvocation invocation, String content) throws TemplateException, UnsupportedEncodingException
public String renderTemplate(TemplateContext context, String content) throws TemplateException, UnsupportedEncodingException
public TemplateContext assemblyContext(org.aopalliance.intercept.MethodInvocation invocation)
public Object getParamValue(TemplateContext context, String key)
Copyright © 2006–2018 TinyGroup. All rights reserved.