org.apache.tiles.freemarker.template
Class DefinitionFMModel

Package class diagram package DefinitionFMModel
java.lang.Object
  extended by org.apache.tiles.freemarker.template.DefinitionFMModel

public class DefinitionFMModel
extends Object

Wraps DefinitionModel to be used in FreeMarker. For the list of parameters, see DefinitionModel#start(java.util.Stack, String, String, String, String, String) and DefinitionModel#end(MutableTilesContainer, java.util.Stack, Object...).

Since:
2.2.0
Version:
$Rev: 765386 $ $Date: 2009-04-15 23:56:54 +0200 (mer, 15 apr 2009) $

Constructor Summary
DefinitionFMModel(DefinitionModel model)
          Constructor.
 
Method Summary
 void execute(Environment env, Map params, TemplateModel[] loopVars, TemplateDirectiveBody body)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefinitionFMModel

public DefinitionFMModel(DefinitionModel model)
Constructor.

Parameters:
model - The template model.
Since:
2.2.0
Method Detail

execute

public void execute(Environment env,
                    Map params,
                    TemplateModel[] loopVars,
                    TemplateDirectiveBody body)
             throws TemplateException,
                    IOException

Throws:
TemplateException
IOException


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.