Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.theme.webengine.fm.extensions
Class ThemeDirective

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
ThemeDirective()
           
 
Method Summary
 void execute(freemarker.core.Environment env, Map params, freemarker.template.TemplateModel[] loopVars, freemarker.template.TemplateDirectiveBody body)
           
 String renderTheme(URL themeUrl)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeDirective

public ThemeDirective()
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
Specified by:
execute in interface freemarker.template.TemplateDirectiveModel
Throws:
freemarker.template.TemplateException
IOException

renderTheme

public String renderTheme(URL themeUrl)
                   throws ThemeException
Throws:
ThemeException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.