blob: e172d18efaf5a8b4bf5d97851e50f268bfe66c55 [file] [log] [blame]
package freemarker.template;
/**
* Implemented by classes that serve as adapters for template model objects in
* some other object model. Actually a functional inverse of
* {@link AdapterTemplateModel}. You will rarely implement this interface
* directly. It is usually implemented by unwrapping adapter classes of various
* object wrapper implementations.
* @author Attila Szegedi
*/
public interface TemplateModelAdapter {
/**
* @return the template model this object is wrapping.
*/
public TemplateModel getTemplateModel();
}