Uses of Class
freemarker.ext.beans.BeansWrapper
-
Packages that use BeansWrapper Package Description freemarker.ext.beans The default object wrapper of FreeMarker uses this to expose Java Beans and POJO-s to templates.freemarker.ext.rhino Exposes Rhino (ECMAScript) objects to templates.freemarker.template The fundamental, most commonly used API-s of FreeMarker; start withConfiguration
(see also the Getting Started in the Manual.) -
-
Uses of BeansWrapper in freemarker.ext.beans
Fields in freemarker.ext.beans declared as BeansWrapper Modifier and Type Field Description protected BeansWrapper
BeanModel. wrapper
Methods in freemarker.ext.beans that return BeansWrapper Modifier and Type Method Description BeansWrapper
BeansWrapperBuilder. build()
Returns aBeansWrapper
instance that matches the settings of this builder.static BeansWrapper
BeansWrapper. getDefaultInstance()
Deprecated.UseBeansWrapperBuilder
instead.Constructors in freemarker.ext.beans with parameters of type BeansWrapper Constructor Description ArrayModel(java.lang.Object array, BeansWrapper wrapper)
Creates a new model that wraps the specified array object.BeanModel(java.lang.Object object, BeansWrapper wrapper)
Creates a new model that wraps the specified object.BooleanModel(java.lang.Boolean bool, BeansWrapper wrapper)
CollectionModel(java.util.Collection collection, BeansWrapper wrapper)
Creates a new model that wraps the specified collection object.DateModel(java.util.Date date, BeansWrapper wrapper)
Creates a new model that wraps the specified date object.EnumerationModel(java.util.Enumeration enumeration, BeansWrapper wrapper)
Creates a new model that wraps the specified enumeration object.IteratorModel(java.util.Iterator iterator, BeansWrapper wrapper)
Creates a new model that wraps the specified iterator object.MapModel(java.util.Map map, BeansWrapper wrapper)
Creates a new model that wraps the specified map object.NumberModel(java.lang.Number number, BeansWrapper wrapper)
Creates a new model that wraps the specified number object.ResourceBundleModel(java.util.ResourceBundle bundle, BeansWrapper wrapper)
SimpleMapModel(java.util.Map map, BeansWrapper wrapper)
StringModel(java.lang.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.rhino Modifier and Type Class Description class
RhinoWrapper
Constructors in freemarker.ext.rhino with parameters of type BeansWrapper Constructor Description RhinoFunctionModel(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.template Modifier and Type Class Description class
DefaultObjectWrapper
The default implementation of theObjectWrapper
interface.class
SimpleObjectWrapper
A restricted object wrapper that will not expose arbitrary object, just those that directly correspond to theTemplateModel
sub-interfaces (String
,Map
and such).
-