cn.gtmap.estateplat.core.support.freemarker.method
类 UrlMethod
java.lang.Object
cn.gtmap.estateplat.core.support.freemarker.method.UrlMethod
- 所有已实现的接口:
- freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel
public class UrlMethod
- extends Object
- implements freemarker.template.TemplateMethodModelEx
url函数,支持以下语法:
${_url('/user',"p1","v1", "p2","v2")}
${_url('/user',"p1","v1", "p2")}
${_url('user',"p1","v1", "p2",["v21","v22"])}
${_url('/item',{"name":"mouse", "price":50})}
- 版本:
- V1.0, 14-6-25
- 作者:
- yangxin
| 从接口 freemarker.template.TemplateModel 继承的字段 |
NOTHING |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlMethod
public UrlMethod()
exec
public Object exec(List args)
throws freemarker.template.TemplateModelException
- 指定者:
- 接口
freemarker.template.TemplateMethodModel 中的 exec - 指定者:
- 接口
freemarker.template.TemplateMethodModelEx 中的 exec
- 抛出:
freemarker.template.TemplateModelException
Copyright © 2015–2021 cn.gtmap. All rights reserved.