freemarker.testcase.models
Class MultiModel2
java.lang.Object
freemarker.testcase.models.MultiModel2
- TemplateMethodModel, TemplateModel, TemplateScalarModel
public class MultiModel2
extends java.lang.Object
Testcase to see how FreeMarker deals with multiple Template models.
$Id: MultiModel2.java,v 1.15 2004/01/06 17:06:44 szegedia Exp $
Object | exec(List arguments) - Executes a method call.
|
String | getAsString() - Returns the scalar's value as a String.
|
exec
public Object exec(List arguments)
Executes a method call.
- exec in interface TemplateMethodModel
arguments
- a List of String objects containing the values
of the arguments passed to the method.
- the TemplateModel produced by the method, or null.
getAsString
public String getAsString()
Returns the scalar's value as a String.
- getAsString in interface TemplateScalarModel
- the String value of this scalar.