org.nuxeo.theme.webengine.fm.extensions
Class ThemeDirective
java.lang.Object
org.nuxeo.theme.webengine.fm.extensions.ThemeDirective
- All Implemented Interfaces:
- freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateModel
public class ThemeDirective
- extends Object
- implements freemarker.template.TemplateDirectiveModel
- Author:
- Jean-Marc Orliaguet
Fields inherited from interface freemarker.template.TemplateModel |
NOTHING |
Method Summary |
void |
execute(freemarker.core.Environment env,
Map params,
freemarker.template.TemplateModel[] loopVars,
freemarker.template.TemplateDirectiveBody body)
|
String |
renderTheme(URL themeUrl)
|
ThemeDirective
public ThemeDirective()
execute
public void execute(freemarker.core.Environment env,
Map params,
freemarker.template.TemplateModel[] loopVars,
freemarker.template.TemplateDirectiveBody body)
throws freemarker.template.TemplateException,
IOException
- Specified by:
execute
in interface freemarker.template.TemplateDirectiveModel
- Throws:
freemarker.template.TemplateException
IOException
renderTheme
public String renderTheme(URL themeUrl)
throws ThemeException
- Throws:
ThemeException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.