| 构造器和说明 |
|---|
VelocityRender() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getEncoding() |
static VelocityRender |
global() |
void |
loadDirective(Object obj) |
void |
render_mav(ModelAndView mv,
XContext ctx,
SupplierEx<OutputStream> outputStream) |
void |
render(Object obj,
XContext ctx) |
String |
renderAndReturn(Object obj,
XContext ctx) |
void |
setSharedVariable(String key,
Object obj) |
public static VelocityRender global()
public void loadDirective(Object obj)
public String getEncoding()
public String renderAndReturn(Object obj, XContext ctx) throws Throwable
renderAndReturn 在接口中 XRenderThrowablepublic void render_mav(ModelAndView mv, XContext ctx, SupplierEx<OutputStream> outputStream) throws Throwable
ThrowableCopyright © 2020. All rights reserved.