Nuxeo Enterprise Platform 5.4

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 java.lang.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, java.util.Map params, freemarker.template.TemplateModel[] loopVars, freemarker.template.TemplateDirectiveBody body)
           
 java.lang.String renderTheme(java.net.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,
                    java.util.Map params,
                    freemarker.template.TemplateModel[] loopVars,
                    freemarker.template.TemplateDirectiveBody body)
             throws freemarker.template.TemplateException,
                    java.io.IOException
Specified by:
execute in interface freemarker.template.TemplateDirectiveModel
Throws:
freemarker.template.TemplateException
java.io.IOException

renderTheme

public java.lang.String renderTheme(java.net.URL themeUrl)
                             throws ThemeException
Throws:
ThemeException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.