Uses of Interface
freemarker.template.AdapterTemplateModel
Packages that use AdapterTemplateModel
Package
Description
The default object wrapper of FreeMarker uses
this to expose Java Beans and POJO-s to templates.
Exposes DOM XML nodes to templates as easily traversable trees;
see in the Manual.
The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration (see also the
Getting Started in the Manual.)-
Uses of AdapterTemplateModel in freemarker.ext.beans
Classes in freemarker.ext.beans that implement AdapterTemplateModelModifier and TypeClassDescriptionclassA class that will wrap an arbitrary array intoTemplateCollectionModelandTemplateSequenceModelinterfaces.classA class that will wrap an arbitrary object intoTemplateHashModelinterface allowing calls to arbitrary property getters and invocation of accessible methods on the object from a template using the object.foo to access properties and object.bar(arg1, arg2) to invoke methods on it.classA class that will wrap instances ofBooleaninto aTemplateBooleanModel.classA special case ofBeanModelthat can wrap Java collections and that implements theTemplateCollectionModelin order to be usable in a <#list> block.classWraps arbitrary subclass ofDateinto a reflective model.classA class that addsTemplateModelIteratorfunctionality to theEnumerationinterface implementers.classA class that addsTemplateModelIteratorfunctionality to theIteratorinterface implementers.classA special case ofBeanModelthat adds implementation forTemplateMethodModelExon map objects that is a shortcut for the Map.get() method.classWraps arbitrary subclass ofNumberinto a reflective model.classA hash model that wraps a resource bundle.classModel used byBeansWrapperwhen simpleMapWrapper mode is enabled.classSubclass ofBeanModelthat exposes the return value of theObject.toString()method through theTemplateScalarModelinterface. -
Uses of AdapterTemplateModel in freemarker.ext.dom
Classes in freemarker.ext.dom that implement AdapterTemplateModelModifier and TypeClassDescriptionclassA base class for wrapping a single W3C DOM Node as a FreeMarker template model. -
Uses of AdapterTemplateModel in freemarker.template
Classes in freemarker.template that implement AdapterTemplateModelModifier and TypeClassDescriptionclassAdapts anarrayof a non-primitive elements to the correspondingTemplateModelinterface(s), most importantly toTemplateHashModelEx.classAdapts anEnumerationto the correspondingTemplateModelinterface(s), most importantly toTemplateCollectionModel.classAdapts anIterableto the correspondingTemplateModelinterface(s), most importantly toTemplateCollectionModel.classAdapts anIteratorto the correspondingTemplateModelinterface(s), most importantly toTemplateCollectionModel.classAdapts aListto the correspondingTemplateModelinterface(s), most importantly toTemplateSequenceModel.classAdapts aMapto the correspondingTemplateModelinterface(s), most importantly toTemplateHashModelEx.classAdapts a non-ListJavaCollectionto the correspondingTemplateModelinterface(s), most importantly toTemplateCollectionModelEx.