freemarker.template
Interface TemplateMethodModel

All Superinterfaces:
TemplateModel
All Known Subinterfaces:
TemplateMethodModelEx
All Known Implementing Classes:
Execute, NodeListModel

public interface TemplateMethodModel
extends TemplateModel

Method calls in a template data model must implement this interface.

The detail messages of any TemplateModelExceptions thrown will be included as HTML comments in the output.

Version:
$Id: TemplateMethodModel.java,v 1.4 2002/03/09 20:57:04 revusky Exp $

Method Summary
 TemplateModel exec(java.util.List arguments)
          Executes a method call.
 
Methods inherited from interface freemarker.template.TemplateModel
isEmpty
 

Method Detail

exec

public TemplateModel exec(java.util.List arguments)
                   throws TemplateModelException
Executes a method call.
Parameters:
arguments - a List of String objects containing the values of the arguments passed to the method.
Returns:
the TemplateModel produced by the method, or null.