|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateMethodModel
Method calls in a template data model must implement either this interface
or the TemplateMethodModel2
interface. The calling
convention from a Template is identical to that of a
TemplateMethodModel2
, only the arguments passed to the
object are different.
The detail messages of any TemplateModelException
s
thrown will be included as HTML comments in the output.
TemplateMethodModel2
Method Summary | |
---|---|
TemplateModel |
exec(java.util.List<java.lang.String> arguments)
Executes a method call. |
Methods inherited from interface freemarker.template.TemplateModel |
---|
isEmpty |
Method Detail |
---|
TemplateModel exec(java.util.List<java.lang.String> arguments) throws TemplateModelException
List
of
String
objects.
arguments
- a List
of String
objects
containing the values of the arguments passed to the method.
TemplateModel
produced by the method, or null
.
TemplateModelException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |