程序包 org.beetl.core
类 TemplateProxy
java.lang.Object
org.beetl.core.Template
org.beetl.core.TemplateProxy
提供一个可重用的模板引擎
Template template = gt.getTemplate(); Template templateProxy = gt.getTemplateProxy(template);
-
字段概要
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void为模板绑定一个变量,infer是trueprotected voidclear()protected Templatecurrent()voidfastBinding(Map map) getCtx()voidrenderTo(ByteWriter byteWriter) validate()语法校验,如果返回BeetlException,则表示语法有错,返回null,语法无错误
-
构造器详细资料
-
TemplateProxy
-
-
方法详细资料
-
renderTo
-
binding
从类复制的说明:Template为模板绑定一个变量,infer是true -
fastBinding
- 覆盖:
fastBinding在类中Template
-
getCtx
-
validate
语法校验,如果返回BeetlException,则表示语法有错,返回null,语法无错误 -
current
-
clear
protected void clear()
-