Package | Description |
---|---|
freemarker.core |
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template . |
freemarker.ext.beans |
The
default 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 alternative ObjectWrapper . |
freemarker.ext.rhino |
Exposes Rhino (ECMAScript) objects to templates.
|
freemarker.template |
The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration (see also the
Getting Stared in the Manual.) |
Modifier and Type | Method and Description |
---|---|
BeansWrapper |
_SettingEvaluationEnvironment.getObjectWrapper() |
Modifier and Type | Field and Description |
---|---|
protected BeansWrapper |
BeanModel.wrapper |
Modifier and Type | Method and Description |
---|---|
BeansWrapper |
BeansWrapperBuilder.build()
Returns a
BeansWrapper instance that matches the settings of this builder. |
BeansWrapper |
_BeansAPI._BeansWrapperSubclassFactory.create(BeansWrapperConfiguration sa)
Creates a new read-only
BeansWrapper ; used for BeansWrapperBuilder and such. |
static BeansWrapper |
_BeansAPI.getBeansWrapperSubclassSingleton(BeansWrapperConfiguration settings,
Map instanceCache,
ReferenceQueue instanceCacheRefQue,
_BeansAPI._BeansWrapperSubclassFactory beansWrapperSubclassFactory)
Contains the common parts of the singleton management for
BeansWrapper and DefaultObjectWrapper . |
static BeansWrapper |
BeansWrapper.getDefaultInstance()
Deprecated.
Use
BeansWrapperBuilder instead. The instance returned here is not read-only, so it's
dangerous to use. |
Modifier and Type | Method and Description |
---|---|
static Object |
_BeansAPI.newInstance(Class pClass,
Object[] args,
BeansWrapper bw) |
Constructor and Description |
---|
_EnumModels(BeansWrapper wrapper) |
ArrayModel(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.
|
Modifier and Type | Class and Description |
---|---|
class |
RhinoWrapper |
Constructor and Description |
---|
RhinoFunctionModel(Function function,
Scriptable fnThis,
BeansWrapper wrapper) |
RhinoScriptableModel(Scriptable scriptable,
BeansWrapper wrapper) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultObjectWrapper
The default implementation of the
ObjectWrapper interface. |
class |
SimpleObjectWrapper
A restricted object wrapper that will not expose arbitrary object, just those that directly correspond to the
TemplateModel sub-interfaces (String , Map and such). |
Copyright © 2016. All Rights Reserved.