freemarker.template
Interface TemplateModelRoot
- All Superinterfaces:
- TemplateHashModel, TemplateModel, TemplateWriteableHashModel
- All Known Implementing Classes:
- FastHash, RootModelWrapper, SimpleHash
public interface TemplateModelRoot
- extends TemplateWriteableHashModel
The root node of a template data model may implement this interface. This
interface is now just a marker interface. All functionality has either been
moved to TemplateWriteableHashModel or made redundant by changes to
the engine.
- See Also:
TemplateWriteableHashModel
|
Method Summary |
void |
put(java.lang.String key,
TemplateModel model)
Sets a value in the hash model. |
void |
remove(java.lang.String key)
Removes a key from the hash model. |
put
void put(java.lang.String key,
TemplateModel model)
- Sets a value in the hash model.
- Specified by:
put in interface TemplateWriteableHashModel
- Parameters:
key - the hash key.model - the hash value to be added.
remove
void remove(java.lang.String key)
- Removes a key from the hash model.
- Parameters:
key - the key to be removed.