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
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.