freemarker.template
Interface TemplateHashModel
- TemplateModel
- TemplateHashModelEx
- AllHttpScopesHashModel, ArrayModel, BeanModel, BooleanHash1, BooleanHash2, BooleanModel, CollectionModel, DateModel, DOMNodeModel, EnumerationModel, Environment.Namespace, HttpRequestHashModel, HttpRequestParametersHashModel, HttpSessionHashModel, IteratorModel, JythonHashModel, JythonModel, JythonNumberModel, JythonSequenceModel, MapModel, MultiModel1, MultiModel3, MultiModel4, MultiModel5, NodeListModel, NodeListModel, NodeModel, NumberModel, ResourceBundleModel, RhinoFunctionModel, RhinoScriptableModel, ServletContextHashModel, SimpleHash, SimpleMapModel, StringModel, TaglibFactory, TransformHashWrapper
public interface TemplateHashModel
Hashes in a data model must implement this interface. Hashes
are FreeMarker data objects that contain other objects through key-value
mappings.
$Id: TemplateHashModel.java,v 1.13 2005/06/08 02:13:34 revusky Exp $
get
public TemplateModel get(String key)
throws TemplateModelException
Gets a TemplateModel from the hash.
key
- the name by which the TemplateModel
is identified in the template.
- the TemplateModel referred to by the key,
or null if not found.