public class VelocityRender extends Render
Constructor and Description |
---|
VelocityRender(String view) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType()
继承类可通过覆盖此方法改变 contentType,从而重用 velocity 模板功能
例如利用 velocity 实现 VelocityXmlRender
|
void |
render()
Render to client
|
static void |
setProperties(Properties properties) |
getDevMode, getEncoding, getView, setContext, setContext, setView
public VelocityRender(String view)
public static void setProperties(Properties properties)
public String getContentType()
Copyright © 2018. All rights reserved.