Class UrlDirective
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.web.directives.BaseTemplateDirectiveModel
-
- edu.cornell.mannlib.vitro.webapp.web.directives.UrlDirective
-
- All Implemented Interfaces:
freemarker.template.TemplateDirectiveModel,freemarker.template.TemplateModel
public class UrlDirective extends BaseTemplateDirectiveModel
Template directive to be used to get image src values. Parameters are not needed, therefore not supported.- Author:
- rjy7
-
-
Constructor Summary
Constructors Constructor Description UrlDirective()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(freemarker.core.Environment env, Map params, freemarker.template.TemplateModel[] loopVars, freemarker.template.TemplateDirectiveBody body)Map<String,Object>help(String name)-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.web.directives.BaseTemplateDirectiveModel
getOptionalHashModelParameter, getOptionalSimpleScalarParameter, getRequiredSimpleScalarParameter, processTemplateToString
-
-
-
-
Method Detail
-
execute
public void execute(freemarker.core.Environment env, Map params, freemarker.template.TemplateModel[] loopVars, freemarker.template.TemplateDirectiveBody body) throws freemarker.template.TemplateException, IOException- Throws:
freemarker.template.TemplateExceptionIOException
-
-