freemarker.template
Interface TemplateHashModelEx

All Superinterfaces:
TemplateHashModel, TemplateModel
All Known Implementing Classes:
SimpleHash

public interface TemplateHashModelEx
extends TemplateHashModel

An extended hash interface with a couple of extra hooks.

Version:
$Id: TemplateHashModelEx.java,v 1.3 2002/04/17 11:03:41 revusky Exp $
Author:
Jonathan Revusky
See Also:
SimpleHash

Method Summary
 TemplateSequenceModel keys()
           
 int size()
           
 TemplateSequenceModel values()
           
 
Methods inherited from interface freemarker.template.TemplateHashModel
get
 
Methods inherited from interface freemarker.template.TemplateModel
isEmpty
 

Method Detail

size

public int size()
         throws TemplateModelException
Returns:
the number of key/value mappings in the hash.

keys

public TemplateSequenceModel keys()
                           throws TemplateModelException
Returns:
a sequence containing the keys in the hash.

values

public TemplateSequenceModel values()
                             throws TemplateModelException
Returns:
a sequence containing the values in the hash.