Uses of Interface
freemarker.template.TemplateHashModelEx
Packages that use TemplateHashModelEx
Package
Description
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template
.The default object wrapper of FreeMarker uses
this to expose Java Beans and POJO-s to templates.
Exposes Jython objects to templates.
Exposes Rhino (ECMAScript) objects to templates.
Servlet for legacy "Model 2" frameworks that allows using FreeMarker
templates instead of JSP as the MVC View
(see in the Manual).
The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration
(see also the
Getting Started in the Manual.)Various classes used by core FreeMarker code but might be useful outside of it too.
-
Uses of TemplateHashModelEx in freemarker.core
Classes in freemarker.core that implement TemplateHashModelEx -
Uses of TemplateHashModelEx in freemarker.ext.beans
Classes in freemarker.ext.beans that implement TemplateHashModelExModifier 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 TemplateHashModelEx in freemarker.ext.jython
Classes in freemarker.ext.jython that implement TemplateHashModelExModifier and TypeClassDescriptionclass
Model for Jython dictionaries (PyDictionary
andPyStringMap
). -
Uses of TemplateHashModelEx in freemarker.ext.rhino
Classes in freemarker.ext.rhino that implement TemplateHashModelEx -
Uses of TemplateHashModelEx in freemarker.ext.servlet
Classes in freemarker.ext.servlet that implement TemplateHashModelExModifier and TypeClassDescriptionclass
An extension of SimpleHash that looks up keys in the hash, then in the request, session, and servlet context scopes.final class
TemplateHashModel wrapper for a HttpServletRequest attributes.class
TemplateHashModel wrapper for a HttpServletRequest parameters. -
Uses of TemplateHashModelEx in freemarker.template
Subinterfaces of TemplateHashModelEx in freemarker.templateModifier and TypeInterfaceDescriptioninterface
Adds key-value pair listing capability toTemplateHashModelEx
.Classes in freemarker.template that implement TemplateHashModelExModifier and TypeClassDescriptionclass
Adapts aMap
to the correspondingTemplateModel
interface(s), most importantly toTemplateHashModelEx
.class
A simple implementation of theTemplateHashModelEx
interface, using its own underlyingMap
orSortedMap
for storing the hash entries.Methods in freemarker.template with parameters of type TemplateHashModelExModifier and TypeMethodDescriptionvoid
Configuration.setAllSharedVariables
(TemplateHashModelEx hash) Adds all object in the hash as shared variable to the configuration; it's like doing severalConfiguration.setSharedVariable(String, Object)
calls, one for each hash entry. -
Uses of TemplateHashModelEx in freemarker.template.utility
Fields in freemarker.template.utility declared as TemplateHashModelExMethods in freemarker.template.utility with parameters of type TemplateHashModelExModifier and TypeMethodDescriptionstatic final TemplateHashModelEx2.KeyValuePairIterator
TemplateModelUtils.getKeyValuePairIterator
(TemplateHashModelEx hash) TemplateModelUtils.TemplateHashModelExKeyValuePairIterator
that even works for a non-TemplateHashModelEx2
TemplateHashModelEx
.