Package | Description |
---|---|
freemarker.ext.beans |
Provides model implementations that allow access to arbitrary Java objects.
|
freemarker.ext.rhino |
Rhino (ECMAScript) support
|
freemarker.template |
This package contains the core API's that most users will use.
|
Modifier and Type | Field and Description |
---|---|
protected BeansWrapper |
BeanModel.wrapper |
Modifier and Type | Method and Description |
---|---|
static BeansWrapper |
BeansWrapper.getDefaultInstance()
Returns the default instance of the wrapper.
|
Constructor and Description |
---|
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
The default implementation of the ObjectWrapper
interface.
|