freemarker.template
Interface TemplateModel

All Known Subinterfaces:
TemplateHashModel, TemplateListModel, TemplateMethodModel, TemplateModelRoot, TemplateScalarModel

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

The detail messages of any TemplateModelExceptions thrown will be included as HTML comments in the output.


Method Summary
 boolean isEmpty()
           
 

Method Detail

isEmpty

public boolean isEmpty()
                throws TemplateModelException
Returns:
true if this object is empty.