cn.gtmap.estateplat.core.support.freemarker.directive
类 AbstractResourceDirective
java.lang.Object
cn.gtmap.estateplat.core.support.freemarker.directive.AbstractResourceDirective
- 所有已实现的接口:
- freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateModel, org.springframework.beans.factory.Aware, org.springframework.web.context.ServletContextAware
- 直接已知子类:
- CssDirective, ImgDirective, JsDirective
public abstract class AbstractResourceDirective
- extends Object
- implements freemarker.template.TemplateDirectiveModel, org.springframework.web.context.ServletContextAware
.
- 版本:
- V1.0, 14-6-30
- 作者:
- yangxin
| 从接口 freemarker.template.TemplateModel 继承的字段 |
NOTHING |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BASE
public static final String BASE
- 另请参见:
- 常量字段值
PATH
public static final String PATH
- 另请参见:
- 常量字段值
VERSION
public static final String VERSION
- 另请参见:
- 常量字段值
AbstractResourceDirective
public AbstractResourceDirective()
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
- 指定者:
- 接口
org.springframework.web.context.ServletContextAware 中的 setServletContext
execute
public void execute(freemarker.core.Environment env,
Map params,
freemarker.template.TemplateModel[] loopVars,
freemarker.template.TemplateDirectiveBody body)
throws freemarker.template.TemplateException,
IOException
- 指定者:
- 接口
freemarker.template.TemplateDirectiveModel 中的 execute
- 抛出:
freemarker.template.TemplateException
IOException
getDefaultBase
protected String getDefaultBase()
getHtml
protected abstract String getHtml(String path,
String attrs)
Copyright © 2015–2018 cn.gtmap. All rights reserved.