|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateMethodModel2
Method calls in a template data model must implement either this
interface or the TemplateMethodModel
interface. The calling
convention from a Template is identical to that of a
TemplateMethodModel
, 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.
TemplateMethodModel
Method Summary | |
---|---|
TemplateModel |
exec(java.util.List<TemplateModel> arguments)
Executes a method call. |
Methods inherited from interface freemarker.template.TemplateModel |
---|
isEmpty |
Method Detail |
---|
TemplateModel exec(java.util.List<TemplateModel> arguments) throws TemplateModelException
List
of
TemplateModel
objects.
arguments
- a List
of TemplateModel
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 |