Uses of Interface
freemarker.template.TemplateHashModelEx
-
Packages that use TemplateHashModelEx Package Description freemarker.core The seldom used or advanced parts of the fundamental FreeMarker API, compared tofreemarker.template.freemarker.ext.beans The default object wrapper of FreeMarker uses this to expose Java Beans and POJO-s 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 Started in the Manual.)freemarker.template.utility 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 Modifier and Type Class Description classEnvironment.Namespace -
Uses of TemplateHashModelEx in freemarker.ext.beans
Classes in freemarker.ext.beans that implement TemplateHashModelEx 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 TemplateHashModelEx in freemarker.ext.servlet
Classes in freemarker.ext.servlet that implement TemplateHashModelEx Modifier and Type Class Description classAllHttpScopesHashModelAn extension of SimpleHash that looks up keys in the hash, then in the request, session, and servlet context scopes.classHttpRequestHashModelTemplateHashModel wrapper for a HttpServletRequest attributes.classHttpRequestParametersHashModelTemplateHashModel wrapper for a HttpServletRequest parameters. -
Uses of TemplateHashModelEx in freemarker.template
Subinterfaces of TemplateHashModelEx in freemarker.template Modifier and Type Interface Description interfaceTemplateHashModelEx2Adds key-value pair listing capability toTemplateHashModelEx.Classes in freemarker.template that implement TemplateHashModelEx Modifier and Type Class Description classDefaultMapAdapterAdapts aMapto the correspondingTemplateModelinterface(s), most importantly toTemplateHashModelEx.classSimpleHashA simple implementation of theTemplateHashModelExinterface, using its own underlyingMaporSortedMapfor storing the hash entries.Methods in freemarker.template with parameters of type TemplateHashModelEx Modifier and Type Method Description voidConfiguration. 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 TemplateHashModelEx Modifier and Type Field Description static TemplateHashModelExConstants. EMPTY_HASHMethods in freemarker.template.utility with parameters of type TemplateHashModelEx Modifier and Type Method Description static TemplateHashModelEx2.KeyValuePairIteratorTemplateModelUtils. getKeyValuePairIterator(TemplateHashModelEx hash)TemplateModelUtils.TemplateHashModelExKeyValuePairIteratorthat even works for a non-TemplateHashModelEx2TemplateHashModelEx.
-