freemarker.testcase.models
Class MultiModel5
java.lang.Object
freemarker.testcase.models.MultiModel5
- TemplateHashModel, TemplateModel, TemplateSequenceModel
public class MultiModel5
extends java.lang.Object
Testcase to see how FreeMarker deals with multiple Template models.
$Id: MultiModel5.java,v 1.12 2004/01/06 17:06:44 szegedia Exp $
MultiModel5
public MultiModel5()
Creates new MultiModel5
get
public TemplateModel get(String key)
Gets a TemplateModel from the hash.
- get in interface TemplateHashModel
key
- the name by which the TemplateModel
is identified in the template.
- the TemplateModel referred to by the key,
or null if not found.