Uses of Interface
freemarker.template.TemplateModelWithAPISupport
Packages that use TemplateModelWithAPISupport
Package
Description
The default object wrapper of FreeMarker uses
this to expose Java Beans and POJO-s to templates.
The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration (see also the
Getting Started in the Manual.)-
Uses of TemplateModelWithAPISupport in freemarker.ext.beans
Classes in freemarker.ext.beans that implement TemplateModelWithAPISupportModifier 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 TemplateModelWithAPISupport in freemarker.template
Classes in freemarker.template that implement TemplateModelWithAPISupportModifier and TypeClassDescriptionclassAdapts 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.