freemarker.template
Interface TemplateModelRoot

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

public interface TemplateModelRoot
extends TemplateHashModel

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

Version:
$Id: TemplateModelRoot.java,v 1.1.1.1 2004/10/16 14:55:03 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

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

void remove(java.lang.String key)
Removes a key from the hash model.

Parameters:
key - the key to be removed.