TemplateModelTemplateHashModelExAllHttpScopesHashModel, ArrayModel, BeanModel, BooleanModel, CollectionModel, DateModel, DefaultMapAdapter, DOMNodeModel, EnumerationModel, Environment.Namespace, HttpRequestHashModel, HttpRequestParametersHashModel, HttpSessionHashModel, IteratorModel, JythonHashModel, JythonModel, JythonNumberModel, JythonSequenceModel, MapModel, NodeListModel, NodeListModel, NodeModel, NumberModel, ResourceBundleModel, RhinoFunctionModel, RhinoScriptableModel, ServletContextHashModel, SimpleHash, SimpleMapModel, StringModel, TaglibFactorypublic interface TemplateHashModel extends TemplateModel
In templates they are used like myHash.myKey or myHash[myDynamicKey].
NOTHING| Modifier and Type | Method | Description |
|---|---|---|
TemplateModel |
get(java.lang.String key) |
Gets a TemplateModel from the hash.
|
boolean |
isEmpty() |
TemplateModel get(java.lang.String key) throws TemplateModelException
key - the name by which the TemplateModel
is identified in the template.TemplateModelExceptionboolean isEmpty()
throws TemplateModelException
TemplateModelException