Uses of Interface
freemarker.template.TemplateCollectionModel
-
Packages that use TemplateCollectionModel Package Description freemarker.ext.beans Thedefault object wrapper
of 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.jdom Deprecated, use W3C DOM (freemarker.ext.dom
) instead; Exposes JDOM XML nodes to templates.freemarker.ext.jython Exposes Jython objects to templates.freemarker.ext.rhino Exposes Rhino (ECMAScript) objects to templates.freemarker.ext.servlet Servlet for legacy "Model 2" frameworks that allows using FreeMarker templates instead of JSP as the MVC View (see in the Manual).freemarker.template The fundamental, most commonly used API-s of FreeMarker; start withConfiguration
(see also the Getting Stared in the Manual.)freemarker.template.utility Various classes used by core FreeMarker code but might be useful outside of it too. -
-
Uses of TemplateCollectionModel in freemarker.ext.beans
Classes in freemarker.ext.beans that implement TemplateCollectionModel Modifier and Type Class Description class
ArrayModel
A class that will wrap an arbitrary array intoTemplateCollectionModel
andTemplateSequenceModel
interfaces.class
CollectionModel
A special case ofBeanModel
that can wrap Java collections and that implements theTemplateCollectionModel
in order to be usable in a <#list> block.class
EnumerationModel
A class that addsTemplateModelIterator
functionality to theEnumeration
interface implementers.class
IteratorModel
A class that addsTemplateModelIterator
functionality to theIterator
interface implementers.Methods in freemarker.ext.beans that return TemplateCollectionModel Modifier and Type Method Description TemplateCollectionModel
BeanModel. keys()
TemplateCollectionModel
SimpleMapModel. keys()
TemplateCollectionModel
BeanModel. values()
TemplateCollectionModel
SimpleMapModel. values()
-
Uses of TemplateCollectionModel in freemarker.ext.jdom
Classes in freemarker.ext.jdom that implement TemplateCollectionModel Modifier and Type Class Description class
NodeListModel
Deprecated.UseNodeModel
instead. -
Uses of TemplateCollectionModel in freemarker.ext.jython
Classes in freemarker.ext.jython that implement TemplateCollectionModel Modifier and Type Class Description class
JythonSequenceModel
Model for Jython sequence objects (PySequence
descendants).Methods in freemarker.ext.jython that return TemplateCollectionModel Modifier and Type Method Description TemplateCollectionModel
JythonHashModel. keys()
Returns eitherobject.__findattr__("keys").__call__()
orobject.__findattr__("keySet").__call__()
.TemplateCollectionModel
JythonHashModel. values()
Returnsobject.__findattr__("values").__call__()
. -
Uses of TemplateCollectionModel in freemarker.ext.rhino
Methods in freemarker.ext.rhino that return TemplateCollectionModel Modifier and Type Method Description TemplateCollectionModel
RhinoScriptableModel. keys()
TemplateCollectionModel
RhinoScriptableModel. values()
-
Uses of TemplateCollectionModel in freemarker.ext.servlet
Methods in freemarker.ext.servlet that return TemplateCollectionModel Modifier and Type Method Description TemplateCollectionModel
HttpRequestHashModel. keys()
TemplateCollectionModel
HttpRequestParametersHashModel. keys()
TemplateCollectionModel
HttpRequestHashModel. values()
TemplateCollectionModel
HttpRequestParametersHashModel. values()
-
Uses of TemplateCollectionModel in freemarker.template
Subinterfaces of TemplateCollectionModel in freemarker.template Modifier and Type Interface Description interface
TemplateCollectionModelEx
Experimental - subject to change: "extended collection" template language data type: Adds size/emptiness querybility and "contains" test toTemplateCollectionModel
.Classes in freemarker.template that implement TemplateCollectionModel Modifier and Type Class Description class
DefaultIteratorAdapter
Adapts anIterator
to the correspondingTemplateModel
interface(s), most importantly toTemplateCollectionModel
.class
DefaultNonListCollectionAdapter
Experimental - subject to change: Adapts a non-List
JavaCollection
to the correspondingTemplateModel
interface(s), most importantly toTemplateCollectionModelEx
.class
SimpleCollection
A simple implementation ofTemplateCollectionModel
.Methods in freemarker.template that return TemplateCollectionModel Modifier and Type Method Description TemplateCollectionModel
DefaultMapAdapter. keys()
TemplateCollectionModel
SimpleHash. keys()
TemplateCollectionModel
TemplateHashModelEx. keys()
TemplateCollectionModel
DefaultMapAdapter. values()
TemplateCollectionModel
SimpleHash. values()
TemplateCollectionModel
TemplateHashModelEx. values()
Constructors in freemarker.template with parameters of type TemplateCollectionModel Constructor Description SimpleSequence(TemplateCollectionModel tcm)
Constructs a simple sequence from the passed collection model, which shouldn't be added to later. -
Uses of TemplateCollectionModel in freemarker.template.utility
Fields in freemarker.template.utility declared as TemplateCollectionModel Modifier and Type Field Description static TemplateCollectionModel
Constants. EMPTY_COLLECTION
-