KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > freemarker > template > TemplateModelAdapter


1 package freemarker.template;
2
3 /**
4  * Implemented by classes that serve as adapters for template model objects in
5  * some other object model. Actually a functional inverse of
6  * {@link AdapterTemplateModel}. You will rarely implement this interface
7  * directly. It is usually implemented by unwrapping adapter classes of various
8  * object wrapper implementations.
9  * @author Attila Szegedi
10  * @version $Id: TemplateModelAdapter.java,v 1.1 2005/06/12 19:03:07 szegedia Exp $
11  */

12 public interface TemplateModelAdapter {
13     /**
14      * @return the template model this object is wrapping.
15      */

16     public TemplateModel getTemplateModel();
17 }
18
Popular Tags