org.springframework.extensions.webscripts
Class ComponentFreemarkerTagDirective

java.lang.Object
  extended by org.springframework.extensions.webscripts.FreemarkerTagSupportDirective
      extended by org.springframework.extensions.webscripts.ComponentFreemarkerTagDirective
All Implemented Interfaces:
freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateModel

public class ComponentFreemarkerTagDirective
extends FreemarkerTagSupportDirective

A generic Freemarker Directive wrapper around the Java Tag classes.

Author:
muzquiano

Field Summary
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
ComponentFreemarkerTagDirective(RenderContext context)
          Instantiates a new component freemarker tag directive.
 
Method Summary
 void execute(freemarker.core.Environment env, Map params, freemarker.template.TemplateModel[] loopVars, freemarker.template.TemplateDirectiveBody body)
           
 
Methods inherited from class org.springframework.extensions.webscripts.FreemarkerTagSupportDirective
executeTag, executeTag, getStringParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentFreemarkerTagDirective

public ComponentFreemarkerTagDirective(RenderContext context)
Instantiates a new component freemarker tag directive.

Parameters:
context - the context
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.TemplateException
IOException


Copyright © 2009 SpringSource, Inc. All Rights Reserved.