freemarker.testcase.models
Class MultiModel4
java.lang.Object
freemarker.testcase.models.MultiModel4
- TemplateHashModel, TemplateModel, TemplateSequenceModel
public class MultiModel4
extends java.lang.Object
Testcase to see how FreeMarker deals with multiple Template models.
$Id: MultiModel4.java,v 1.13 2004/01/06 17:06:44 szegedia Exp $
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.