| java.lang.Object freemarker.testcase.models.MultiModel3
MultiModel3 | public class MultiModel3 implements TemplateScalarModel,TemplateHashModel(Code) | | Testcase to see how FreeMarker deals with multiple Template models.
version: $Id: MultiModel3.java,v 1.14 2004/01/06 17:06:44 szegedia Exp $ |
Method Summary | |
public TemplateModel | get(String key) Gets a TemplateModel from the hash.
Parameters: key - the name by which the TemplateModelis identified in the template. | public String | getAsString() Returns the scalar's value as a String. | public boolean | isEmpty() |
get | public TemplateModel get(String key)(Code) | | Gets a TemplateModel from the hash.
Parameters: key - the name by which the TemplateModelis identified in the template. the TemplateModel referred to by the key,or null if not found. |
getAsString | public String getAsString()(Code) | | Returns the scalar's value as a String.
the String value of this scalar. |
isEmpty | public boolean isEmpty()(Code) | | true if this object is empty. |
|
|