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.
Exposes Jython objects to templates.
Exposes Rhino (ECMAScript) objects to templates.
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 TypeClassDescriptionclass
A class that will wrap an arbitrary array intoTemplateCollectionModel
andTemplateSequenceModel
interfaces.class
A class that will wrap an arbitrary object intoTemplateHashModel
interface 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.class
A class that will wrap instances ofBoolean
into aTemplateBooleanModel
.class
A special case ofBeanModel
that can wrap Java collections and that implements theTemplateCollectionModel
in order to be usable in a <#list> block.class
Wraps arbitrary subclass ofDate
into a reflective model.class
A class that addsTemplateModelIterator
functionality to theEnumeration
interface implementers.class
A class that addsTemplateModelIterator
functionality to theIterator
interface implementers.class
A special case ofBeanModel
that adds implementation forTemplateMethodModelEx
on map objects that is a shortcut for the Map.get() method.class
Wraps arbitrary subclass ofNumber
into a reflective model.class
A hash model that wraps a resource bundle.class
Model used byBeansWrapper
when simpleMapWrapper mode is enabled.class
Subclass ofBeanModel
that exposes the return value of theObject.toString()
method through theTemplateScalarModel
interface. -
Uses of AdapterTemplateModel in freemarker.ext.dom
Classes in freemarker.ext.dom that implement AdapterTemplateModelModifier and TypeClassDescriptionclass
A base class for wrapping a single W3C DOM Node as a FreeMarker template model. -
Uses of AdapterTemplateModel in freemarker.ext.jython
Classes in freemarker.ext.jython that implement AdapterTemplateModelModifier and TypeClassDescriptionclass
Model for Jython dictionaries (PyDictionary
andPyStringMap
).class
Generic model for arbitrary Jython objects.class
Model for Jython numeric objects (PyInteger
,PyLong
,PyFloat
).class
Model for Jython sequence objects (PySequence
descendants). -
Uses of AdapterTemplateModel in freemarker.ext.rhino
Classes in freemarker.ext.rhino that implement AdapterTemplateModel -
Uses of AdapterTemplateModel in freemarker.template
Classes in freemarker.template that implement AdapterTemplateModelModifier and TypeClassDescriptionclass
Adapts anarray
of a non-primitive elements to the correspondingTemplateModel
interface(s), most importantly toTemplateHashModelEx
.class
Adapts anEnumeration
to the correspondingTemplateModel
interface(s), most importantly toTemplateCollectionModel
.class
Adapts anIterable
to the correspondingTemplateModel
interface(s), most importantly toTemplateCollectionModel
.class
Adapts anIterator
to the correspondingTemplateModel
interface(s), most importantly toTemplateCollectionModel
.class
Adapts aList
to the correspondingTemplateModel
interface(s), most importantly toTemplateSequenceModel
.class
Adapts aMap
to the correspondingTemplateModel
interface(s), most importantly toTemplateHashModelEx
.class
Adapts a non-List
JavaCollection
to the correspondingTemplateModel
interface(s), most importantly toTemplateCollectionModelEx
.