freemarker.template
Interface TemplateModel
- All Known Subinterfaces:
- TemplateCollectionModel, TemplateHashModel, TemplateHashModelEx, TemplateListModel, TemplateMethodModel, TemplateMethodModelEx, TemplateModelRoot, TemplateNumberModel, TemplateScalarModel, TemplateSequenceModel, TemplateTransformModel
- public interface TemplateModel
A template's data model must be a tree of objects, each of which
implements a subinterface of TemplateModel. The root of the tree
must implement TemplateModelRoot.
- Version:
- $Id: TemplateModel.java,v 1.5 2002/04/17 11:03:41 revusky Exp $
isEmpty
public boolean isEmpty()
throws TemplateModelException
- Returns:
- true if this object is empty.