01: package freemarker.template;
02:
03: /**
04: * Implemented by classes that serve as adapters for template model objects in
05: * some other object model. Actually a functional inverse of
06: * {@link AdapterTemplateModel}. You will rarely implement this interface
07: * directly. It is usually implemented by unwrapping adapter classes of various
08: * object wrapper implementations.
09: * @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: }
|