Uses of Interface
freemarker.ext.util.WrapperTemplateModel
-
Packages that use WrapperTemplateModel Package Description freemarker.ext.beans The default object wrapper of FreeMarker uses this to expose Java Beans and POJO-s to templates.freemarker.ext.dom Exposes DOM XML nodes to templates as easily traversable trees; see in the Manual.freemarker.template The fundamental, most commonly used API-s of FreeMarker; start withConfiguration(see also the Getting Started in the Manual.) -
-
Uses of WrapperTemplateModel in freemarker.ext.beans
Classes in freemarker.ext.beans that implement WrapperTemplateModel 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 WrapperTemplateModel in freemarker.ext.dom
Classes in freemarker.ext.dom that implement WrapperTemplateModel Modifier and Type Class Description classNodeModelA base class for wrapping a single W3C DOM Node as a FreeMarker template model. -
Uses of WrapperTemplateModel in freemarker.template
Classes in freemarker.template that implement WrapperTemplateModel Modifier and Type Class Description classDefaultArrayAdapterAdapts anarrayof a non-primitive elements to the correspondingTemplateModelinterface(s), most importantly toTemplateHashModelEx.classDefaultEnumerationAdapterAdapts anEnumerationto the correspondingTemplateModelinterface(s), most importantly toTemplateCollectionModel.classDefaultIterableAdapterAdapts anIterableto the correspondingTemplateModelinterface(s), most importantly toTemplateCollectionModel.classDefaultIteratorAdapterAdapts anIteratorto the correspondingTemplateModelinterface(s), most importantly toTemplateCollectionModel.classDefaultListAdapterAdapts aListto the correspondingTemplateModelinterface(s), most importantly toTemplateSequenceModel.classDefaultMapAdapterAdapts aMapto the correspondingTemplateModelinterface(s), most importantly toTemplateHashModelEx.classDefaultNonListCollectionAdapterAdapts a non-ListJavaCollectionto the correspondingTemplateModelinterface(s), most importantly toTemplateCollectionModelEx.
-