| freemarker.template.TemplateHashModel
All known Subclasses: freemarker.ext.xml.NodeListModel, freemarker.testcase.models.BooleanHash2, freemarker.testcase.models.BooleanHash1, freemarker.template.utility.DOMNodeModel, freemarker.ext.dom.NodeModel, freemarker.ext.dom.DocumentModel, freemarker.ext.jsp.TaglibFactory, freemarker.testcase.models.MultiModel4, freemarker.testcase.models.MultiModel1, freemarker.ext.dom.NodeListModel, freemarker.ext.jython.JythonModel, freemarker.ext.jsp.JspContextModel, freemarker.testcase.models.MultiModel5, freemarker.ext.servlet.ServletContextHashModel, freemarker.testcase.models.TransformHashWrapper, freemarker.ext.jdom.NodeListModel, freemarker.ext.servlet.HttpSessionHashModel, freemarker.testcase.models.MultiModel3, freemarker.ext.beans.ClassBasedModelFactory,
TemplateHashModel | public interface TemplateHashModel extends TemplateModel(Code) | | Hashes in a data model must implement this interface. Hashes
are FreeMarker data objects that contain other objects through key-value
mappings.
version: $Id: TemplateHashModel.java,v 1.13 2005/06/08 02:13:34 revusky Exp $ |
Method Summary | |
TemplateModel | get(String key) Gets a TemplateModel from the hash.
Parameters: key - the name by which the TemplateModelis identified in the template. | boolean | isEmpty() |
get | TemplateModel get(String key) throws TemplateModelException(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. |
|
|