java.lang.Object
freemarker.testcase.models.MultiModel2
- All Implemented Interfaces:
- freemarker.template.TemplateMethodModel, freemarker.template.TemplateModel, freemarker.template.TemplateScalarModel
- public class MultiModel2
- extends java.lang.Object
- implements freemarker.template.TemplateScalarModel, freemarker.template.TemplateMethodModel
Testcase to see how FreeMarker deals with multiple Template models.
- Version:
- $Id: MultiModel2.java,v 1.15 2004/01/06 17:06:44 szegedia Exp $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiModel2
public MultiModel2()
getAsString
public java.lang.String getAsString()
- Returns the scalar's value as a String.
- Specified by:
getAsString
in interface freemarker.template.TemplateScalarModel
exec
public java.lang.Object exec(java.util.List arguments)
- Executes a method call.
- Specified by:
exec
in interface freemarker.template.TemplateMethodModel