public class DefaultComposedValueConverter extends ComposedValueConverterImpl
ComposedValueConverter
to be used without IoC-Container. It
extends ComposedValueConverterImpl
by adding
typical ValueConverter
s.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, setConverters
convert, convertValue, convertValue, getReflectionUtil, getSourceType, getTargetType, setReflectionUtil
convertValue, convertValue, convertValue, convertValue
createLogger, getLogger
doInitialized, getInitializationState, initialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertValue, convertValue, convertValue, convertValue
private 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()
AbstractComponent
initialization
. It is called when AbstractComponent.initialize()
is
invoked for the first time. super.
AbstractComponent.doInitialize()
.doInitialize
in class ComposedValueConverterImpl
Copyright © 2001–2016 mmm-Team. All rights reserved.