SOURCE
- is the generic source-type
.TARGET
- is the generic target-type
.public abstract class AbstractRecursiveValueConverter<SOURCE,TARGET> extends AbstractValueConverter<SOURCE,TARGET>
ValueConverter
that
performs recursive conversions on the owning-converter
for converting
child values.Modifier and Type | Field and Description |
---|---|
private ComposedValueConverter |
composedValueConverter |
Constructor and Description |
---|
AbstractRecursiveValueConverter()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doInitialize()
This method performs the actual
initialization . |
protected ComposedValueConverter |
getComposedValueConverter()
This method gets the
ComposedValueConverter owing this converter. |
void |
setComposedValueConverter(ComposedValueConverter composedValueConverter)
This method sets (injects) the
composedValueConverter . |
convert, getReflectionUtil, setReflectionUtil
createLogger, getLogger
doInitialized, getInitializationState, initialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convert, getSourceType, getTargetType
private ComposedValueConverter composedValueConverter
getComposedValueConverter()
public AbstractRecursiveValueConverter()
protected ComposedValueConverter getComposedValueConverter()
ComposedValueConverter
owing this converter. It is required for recursive
invocations during conversion.ComposedValueConverter
.@Inject public void setComposedValueConverter(ComposedValueConverter composedValueConverter)
composedValueConverter
. It has to be
called before AbstractComponent.initialize()
is invoked.composedValueConverter
- is the ComposedValueConverter
to set.protected void doInitialize()
initialization
. It is called when
AbstractComponent.initialize()
is invoked for the first time. super.AbstractComponent.doInitialize()
.doInitialize
in class AbstractValueConverter<SOURCE,TARGET>
Copyright © 2001–2014 mmm-Team. All rights reserved.