freemarker.template
Interface TemplateMethodModel
- All Superinterfaces:
- TemplateModel
- All Known Implementing Classes:
- Execute
- 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.
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.