public interface TemplateEngine
| 限定符和类型 | 方法和说明 |
|---|---|
void |
render(ModelAndView modelAndView,
Writer writer)
Render a template file to the client
|
void render(ModelAndView modelAndView, Writer writer) throws TemplateException
modelAndView - ModelAndView instance, contains view name and data modelwriter - writer instanceTemplateException - throw TemplateException when rendering a templateCopyright © 2018. All rights reserved.