Uses of Class
freemarker.ext.beans.BeansWrapper
Packages that use BeansWrapper
Package
Description
The default object wrapper of FreeMarker uses
this to expose Java Beans and POJO-s 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 BeansWrapper in freemarker.ext.beans
Fields in freemarker.ext.beans declared as BeansWrapperMethods in freemarker.ext.beans that return BeansWrapperModifier and TypeMethodDescriptionBeansWrapperBuilder.build()
Returns aBeansWrapper
instance that matches the settings of this builder.static final BeansWrapper
BeansWrapper.getDefaultInstance()
Deprecated.Constructors in freemarker.ext.beans with parameters of type BeansWrapperModifierConstructorDescriptionArrayModel
(Object array, BeansWrapper wrapper) Creates a new model that wraps the specified array object.BeanModel
(Object object, BeansWrapper wrapper) Creates a new model that wraps the specified object.BooleanModel
(Boolean bool, BeansWrapper wrapper) CollectionModel
(Collection collection, BeansWrapper wrapper) Creates a new model that wraps the specified collection object.DateModel
(Date date, BeansWrapper wrapper) Creates a new model that wraps the specified date object.EnumerationModel
(Enumeration enumeration, BeansWrapper wrapper) Creates a new model that wraps the specified enumeration object.IteratorModel
(Iterator iterator, BeansWrapper wrapper) Creates a new model that wraps the specified iterator object.MapModel
(Map map, BeansWrapper wrapper) Creates a new model that wraps the specified map object.NumberModel
(Number number, BeansWrapper wrapper) Creates a new model that wraps the specified number object.ResourceBundleModel
(ResourceBundle bundle, BeansWrapper wrapper) SimpleMapModel
(Map map, BeansWrapper wrapper) StringModel
(Object object, BeansWrapper wrapper) Creates a new model that wraps the specified object with BeanModel + scalar functionality. -
Uses of BeansWrapper in freemarker.ext.rhino
Subclasses of BeansWrapper in freemarker.ext.rhinoConstructors in freemarker.ext.rhino with parameters of type BeansWrapperModifierConstructorDescriptionRhinoFunctionModel
(org.mozilla.javascript.Function function, org.mozilla.javascript.Scriptable fnThis, BeansWrapper wrapper) RhinoScriptableModel
(org.mozilla.javascript.Scriptable scriptable, BeansWrapper wrapper) -
Uses of BeansWrapper in freemarker.template
Subclasses of BeansWrapper in freemarker.templateModifier and TypeClassDescriptionclass
The default implementation of theObjectWrapper
interface.class
A restricted object wrapper that will not expose arbitrary object, just those that directly correspond to theTemplateModel
sub-interfaces (String
,Map
and such).
BeansWrapperBuilder
instead.