Package | Description |
---|---|
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.template |
The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration (see also the
Getting Stared in the Manual.) |
Modifier and Type | Class and Description |
---|---|
class |
BeansWrapperBuilder
Gets/creates a
BeansWrapper singleton instance that's already configured as specified in the properties of
this object; this is recommended over using the BeansWrapper constructors. |
Modifier and Type | Method and Description |
---|---|
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 . |
Constructor and Description |
---|
BeansWrapper(BeansWrapperConfiguration bwConf,
boolean writeProtected)
Same as
BeansWrapper.BeansWrapper(BeansWrapperConfiguration, boolean, boolean) with true
finalizeConstruction argument. |
BeansWrapper(BeansWrapperConfiguration bwConf,
boolean writeProtected,
boolean finalizeConstruction)
Initializes the instance based on the the
BeansWrapperConfiguration specified. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultObjectWrapperBuilder
Gets/creates a
DefaultObjectWrapper singleton instance that's already configured as specified in the
properties of this object; this is recommended over using the DefaultObjectWrapper constructors. |
class |
DefaultObjectWrapperConfiguration
Holds
DefaultObjectWrapper configuration settings and defines their defaults. |
Constructor and Description |
---|
DefaultObjectWrapper(BeansWrapperConfiguration bwCfg,
boolean writeProtected)
Use
DefaultObjectWrapper.DefaultObjectWrapper(DefaultObjectWrapperConfiguration, boolean) instead if possible;
it does the same, except that it tolerates a non-DefaultObjectWrapperConfiguration configuration too. |
Copyright © 2016. All Rights Reserved.