freemarker.template
Interface TemplateModelRoot
- All Superinterfaces:
- TemplateHashModel, TemplateModel, TemplateWriteableHashModel
- All Known Implementing Classes:
- ExtendedHash, FastHash, RootMapModel, 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.
- Version:
- $Id: TemplateModelRoot.java 1176 2005-10-10 13:24:29Z run2000 $
- 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.