构造器和说明 |
---|
ThymeleafRender() |
ThymeleafRender(java.lang.ClassLoader classLoader) |
ThymeleafRender(java.lang.ClassLoader classLoader,
java.lang.String viewPrefix) |
限定符和类型 | 方法和说明 |
---|---|
org.thymeleaf.TemplateEngine |
getProvider()
引擎提供者
|
<T extends org.thymeleaf.dialect.IDialect> |
putDirective(T obj)
添加共享指令(自定义标签)
|
void |
putVariable(java.lang.String name,
java.lang.Object obj)
添加共享变量
|
void |
render_mav(ModelAndView mv,
Context ctx,
SupplierEx<java.io.OutputStream> outputStream) |
void |
render(java.lang.Object obj,
Context ctx)
渲染
|
java.lang.String |
renderAndReturn(java.lang.Object obj,
Context ctx)
渲染并返回(默认不实现)
|
public ThymeleafRender()
public ThymeleafRender(java.lang.ClassLoader classLoader)
public ThymeleafRender(java.lang.ClassLoader classLoader, java.lang.String viewPrefix)
public org.thymeleaf.TemplateEngine getProvider()
public <T extends org.thymeleaf.dialect.IDialect> void putDirective(T obj)
public void putVariable(java.lang.String name, java.lang.Object obj)
public void render(java.lang.Object obj, Context ctx) throws java.lang.Throwable
Render
public java.lang.String renderAndReturn(java.lang.Object obj, Context ctx) throws java.lang.Throwable
Render
renderAndReturn
在接口中 Render
java.lang.Throwable
public void render_mav(ModelAndView mv, Context ctx, SupplierEx<java.io.OutputStream> outputStream) throws java.lang.Throwable
java.lang.Throwable