Uses of Interface
freemarker.template.TemplateModelWithAPISupport
-
Packages that use TemplateModelWithAPISupport Package Description freemarker.ext.beans Thedefault object wrapperof FreeMarker uses this to expose Java Beans and POJO-s to templates, but it can also be used in itself as a better alternativeObjectWrapper.freemarker.template The fundamental, most commonly used API-s of FreeMarker; start withConfiguration(see also the Getting Stared in the Manual.) -
-
Uses of TemplateModelWithAPISupport in freemarker.ext.beans
Classes in freemarker.ext.beans that implement TemplateModelWithAPISupport Modifier and Type Class Description classArrayModelA class that will wrap an arbitrary array intoTemplateCollectionModelandTemplateSequenceModelinterfaces.classBeanModelA 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.classBooleanModelA class that will wrap instances ofBooleaninto aTemplateBooleanModel.classCollectionModelA special case ofBeanModelthat can wrap Java collections and that implements theTemplateCollectionModelin order to be usable in a <#list> block.classDateModelWraps arbitrary subclass ofDateinto a reflective model.classEnumerationModelA class that addsTemplateModelIteratorfunctionality to theEnumerationinterface implementers.classIteratorModelA class that addsTemplateModelIteratorfunctionality to theIteratorinterface implementers.classMapModelA special case ofBeanModelthat adds implementation forTemplateMethodModelExon map objects that is a shortcut for the Map.get() method.classNumberModelWraps arbitrary subclass ofNumberinto a reflective model.classResourceBundleModelA hash model that wraps a resource bundle.classSimpleMapModelModel used byBeansWrapperwhen simpleMapWrapper mode is enabled.classStringModelSubclass ofBeanModelthat exposes the return value of theObject.toString()method through theTemplateScalarModelinterface. -
Uses of TemplateModelWithAPISupport in freemarker.template
Classes in freemarker.template that implement TemplateModelWithAPISupport Modifier and Type Class Description classDefaultListAdapterAdapts aListto the correspondingTemplateModelinterface(s), most importantly toTemplateSequenceModel.classDefaultMapAdapterAdapts aMapto the correspondingTemplateModelinterface(s), most importantly toTemplateHashModelEx.classDefaultNonListCollectionAdapterExperimental - subject to change: Adapts a non-ListJavaCollectionto the correspondingTemplateModelinterface(s), most importantly toTemplateCollectionModelEx.
-