public class ConfiguredNlsFormatterMap extends NlsFormatterMap
NlsFormatterMap
as a ready to use configurable component. It contains all the defaults
but can also be configured for your custom needs.Modifier and Type | Field and Description |
---|---|
private List<? extends NlsFormatterPlugin<?>> |
formatters |
Constructor and Description |
---|
ConfiguredNlsFormatterMap()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doInitialize()
This method performs the actual
initialization . |
void |
setFormatters(List<? extends NlsFormatterPlugin<?>> formatters)
This method allows to inject the
formatters to
register . |
getFormatter, registerFormatter, registerFormatter
doInitialized, getInitializationState, initialize
private List<? extends NlsFormatterPlugin<?>> formatters
protected void doInitialize()
AbstractComponent
initialization
. It is called when AbstractComponent.initialize()
is
invoked for the first time. super.
AbstractComponent.doInitialize()
.doInitialize
in class AbstractComponent
@Inject public void setFormatters(List<? extends NlsFormatterPlugin<?>> formatters)
formatters
to
register
.formatters
- is the List
of formatters to set.Copyright © 2001–2016 mmm-Team. All rights reserved.