public class DefaultComposedValueConverter extends ComposedValueConverterImpl
ComposedValueConverter to be used without IoC-Container. It
extends ComposedValueConverterImpl by adding
typical ValueConverters.ComposedValueConverterImpl.ComposedTargetTypeConverter<TARGET>, ComposedValueConverterImpl.TargetClass2ConverterMap| Modifier and Type | Field and Description |
|---|---|
private static ComposedValueConverter |
instance |
| Constructor and Description |
|---|
DefaultComposedValueConverter()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConverterComponent(ValueConverter<?,?> converter) |
protected void |
doInitialize()
This method performs the actual
initialization. |
static ComposedValueConverter |
getInstance()
This method gets the singleton instance of this
ComposedValueConverter. |
addConverter, convert, convertRecursive, getConverters, isAccepted, isApplicable, isApplicable, setConvertersconvert, convertValue, convertValue, getReflectionUtil, getSourceType, getTargetType, setReflectionUtilconvertValue, convertValue, convertValue, convertValuecreateLogger, getLoggerdoInitialized, getInitializationState, initializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertValue, convertValue, convertValue, convertValueprivate static ComposedValueConverter instance
public DefaultComposedValueConverter()
public static ComposedValueConverter getInstance()
ComposedValueConverter. Cdi.GET_INSTANCE before using.public void addConverterComponent(ValueConverter<?,?> converter)
converter - is the converter to add.ComposedValueConverterImpl.addConverter(ValueConverter)protected void doInitialize()
AbstractComponentinitialization. It is called when AbstractComponent.initialize() is
invoked for the first time. super.AbstractComponent.doInitialize().doInitialize in class ComposedValueConverterImplCopyright © 2001–2016 mmm-Team. All rights reserved.