freemarker.template
Interface TemplateModelRoot

All Superinterfaces:
TemplateHashModel, TemplateModel
All Known Implementing Classes:
RootMapModel, RootModelWrapper, SimpleHash, FastHash

public interface TemplateModelRoot
extends TemplateHashModel

The root node of a template data model must implement this interface.

Version:
$Id: TemplateModelRoot.java,v 1.5 2003/11/03 03:33:32 run2000 Exp $

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.
 
Methods inherited from interface freemarker.template.TemplateHashModel
get
 
Methods inherited from interface freemarker.template.TemplateModel
isEmpty
 

Method Detail

put

public void put(java.lang.String key,
                TemplateModel model)
Sets a value in the hash model.
Parameters:
key - the hash key.
model - the hash value to be added.

remove

public void remove(java.lang.String key)
Removes a key from the hash model.
Parameters:
key - the key to be removed.