public class VelocityTemplateEngine extends Object implements com.blade.mvc.ui.template.TemplateEngine
| 构造器和说明 |
|---|
VelocityTemplateEngine()
Constructor
|
VelocityTemplateEngine(Properties config) |
VelocityTemplateEngine(String templatePath,
String suffix) |
VelocityTemplateEngine(org.apache.velocity.app.VelocityEngine velocityEngine) |
| 限定符和类型 | 方法和说明 |
|---|---|
Properties |
getConfig() |
String |
getSuffix() |
String |
getTemplatePath() |
org.apache.velocity.app.VelocityEngine |
getVelocityEngine() |
void |
render(com.blade.mvc.ui.ModelAndView modelAndView,
Writer writer) |
void |
setSuffix(String suffix) |
void |
setTemplatePath(String templatePath) |
public VelocityTemplateEngine()
public VelocityTemplateEngine(Properties config)
public VelocityTemplateEngine(org.apache.velocity.app.VelocityEngine velocityEngine)
public void render(com.blade.mvc.ui.ModelAndView modelAndView,
Writer writer)
render 在接口中 com.blade.mvc.ui.template.TemplateEnginepublic org.apache.velocity.app.VelocityEngine getVelocityEngine()
public Properties getConfig()
public String getTemplatePath()
public void setTemplatePath(String templatePath)
public String getSuffix()
public void setSuffix(String suffix)
Copyright © 2017. All rights reserved.