org.apache.struts2.components.template
类 VelocityTemplateEngine

java.lang.Object
  继承者 org.apache.struts2.components.template.BaseTemplateEngine
      继承者 org.apache.struts2.components.template.VelocityTemplateEngine
所有已实现的接口:
TemplateEngine

public class VelocityTemplateEngine
extends BaseTemplateEngine

Velocity based template engine.


字段摘要
 
从类 org.apache.struts2.components.template.BaseTemplateEngine 继承的字段
DEFAULT_THEME_PROPERTIES_FILE_NAME
 
构造方法摘要
VelocityTemplateEngine()
           
 
方法摘要
 void renderTemplate(TemplateRenderingContext templateContext)
          Renders the template
 void setVelocityManager(VelocityManager mgr)
           
 
从类 org.apache.struts2.components.template.BaseTemplateEngine 继承的方法
getThemeProps
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

VelocityTemplateEngine

public VelocityTemplateEngine()
方法详细信息

setVelocityManager

public void setVelocityManager(VelocityManager mgr)

renderTemplate

public void renderTemplate(TemplateRenderingContext templateContext)
                    throws Exception
从接口 TemplateEngine 复制的描述
Renders the template

参数:
templateContext - context for the given template.
抛出:
Exception - is thrown if there is a failure when rendering.