Uses of Interface
freemarker.template.AdapterTemplateModel
-
Packages that use AdapterTemplateModel 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.ext.dom Exposes DOM XML nodes to templates as easily traversable trees; see in the Manual.freemarker.ext.jython Exposes Jython objects to templates.freemarker.ext.rhino Exposes Rhino (ECMAScript) objects to templates.freemarker.template The fundamental, most commonly used API-s of FreeMarker; start withConfiguration(see also the Getting Stared in the Manual.) -
-
Uses of AdapterTemplateModel in freemarker.ext.beans
Classes in freemarker.ext.beans that implement AdapterTemplateModel 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 AdapterTemplateModel in freemarker.ext.dom
Classes in freemarker.ext.dom that implement AdapterTemplateModel Modifier and Type Class Description classNodeModelA base class for wrapping a W3C DOM Node as a FreeMarker template model. -
Uses of AdapterTemplateModel in freemarker.ext.jython
Classes in freemarker.ext.jython that implement AdapterTemplateModel Modifier and Type Class Description classJythonHashModelModel for Jython dictionaries (PyDictionaryandPyStringMap).classJythonModelGeneric model for arbitrary Jython objects.classJythonNumberModelclassJythonSequenceModelModel for Jython sequence objects (PySequencedescendants). -
Uses of AdapterTemplateModel in freemarker.ext.rhino
Classes in freemarker.ext.rhino that implement AdapterTemplateModel Modifier and Type Class Description classRhinoFunctionModelclassRhinoScriptableModel -
Uses of AdapterTemplateModel in freemarker.template
Classes in freemarker.template that implement AdapterTemplateModel Modifier and Type Class Description classDefaultArrayAdapterAdapts anarrayof a non-primitive elements to the correspondingTemplateModelinterface(s), most importantly toTemplateHashModelEx.classDefaultIteratorAdapterAdapts anIteratorto the correspondingTemplateModelinterface(s), most importantly toTemplateCollectionModel.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.
-