TemplateModel
TemplateHashModelEx
AllHttpScopesHashModel
, 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
, TaglibFactory
public 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.TemplateModelException
boolean isEmpty() throws TemplateModelException
TemplateModelException