Home » freemarker-2.3.13 » freemarker.template » [javadoc | source]
freemarker.template
public interface: TemplateHashModel [javadoc | source]

All Implemented Interfaces:
    TemplateModel

All Known Implementing Classes:
    NodeListModel, JythonHashModel, ConcatenatedHashEx, DocumentModel, StaticModels, AttributeNodeModel, DOMNodeModel, EnumerationModel, DateFormatter, NumberFormatter, JythonModel, CharacterDataNodeModel, DebugEnvironmentModel, DebugConfigurationModel, AllHttpScopesHashModel, PINodeModel, DebugTemplateModel, EmptyStringAndSequence, JspContextModel, EnumModels, ServletContextHashModel, NodeListModel, NodeModel, RhinoScriptableModel, SimpleHash, DocumentTypeModel, JythonNumberModel, DateModel, ResourceBundleModel, HttpSessionHashModel, BooleanModel, StaticModel, SimpleMapModel, JythonSequenceModel, NodeListModel, ElementModel, ConcatenatedHash, StringModel, DebugMapModel, CollectionModel, HttpRequestHashModel, TaglibFactory, ArrayModel, DebugConfigurableModel, VarsHash, DateParser, BeanModel, GeneralPurposeNothing, HttpRequestParametersHashModel, MapModel, Taglib, SequenceHash, NumberModel, Namespace, ClassBasedModelFactory, TemplateHashModelEx, RhinoFunctionModel, IteratorModel, SynchronizedHash

Hashes in a data model must implement this interface. Hashes are FreeMarker data objects that contain other objects through key-value mappings.
Method from freemarker.template.TemplateHashModel Summary:
get,   isEmpty
Method from freemarker.template.TemplateHashModel Detail:
 public TemplateModel get(String key) throws TemplateModelException
    Gets a TemplateModel from the hash.
 public boolean isEmpty() throws TemplateModelException