freemarker.template
Interface TemplateMethodModel


public abstract 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.


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.