public interface TemplateHashModel extends TemplateModel
In templates they are used like myHash.myKey
or myHash[myDynamicKey]
.
NOTHING
Modifier and Type | Method and 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