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
 
构造方法摘要
UrlMethod()
           
 
方法摘要
 Object exec(List args)
           
 
从类 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–2016 cn.gtmap. All rights reserved.