net.sf.mmm.util.value.base
Class AbstractRecursiveValueConverter<SOURCE,TARGET>
java.lang.Object
net.sf.mmm.util.component.base.AbstractComponent
net.sf.mmm.util.component.base.AbstractLoggableComponent
net.sf.mmm.util.value.base.AbstractValueConverter<SOURCE,TARGET>
net.sf.mmm.util.value.base.AbstractRecursiveValueConverter<SOURCE,TARGET>
- Type Parameters:
SOURCE
- is the generic source-type
.TARGET
- is the generic target-type
.
- All Implemented Interfaces:
- SimpleValueConverter<SOURCE,TARGET>, ValueConverter<SOURCE,TARGET>
- Direct Known Subclasses:
- AbstractValueConverterToContainer, ValueConverterToCompatiblePojo
public abstract class AbstractRecursiveValueConverter<SOURCE,TARGET>
- extends AbstractValueConverter<SOURCE,TARGET>
This is an abstract base-implementation for a
ValueConverter
that performs recursive
conversions on the owning-converter
for
converting child values.
- Since:
- 1.0.1
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
composedValueConverter
private ComposedValueConverter composedValueConverter
- See Also:
getComposedValueConverter()
AbstractRecursiveValueConverter
public AbstractRecursiveValueConverter()
- The constructor.
getComposedValueConverter
protected ComposedValueConverter getComposedValueConverter()
- This method gets the
ComposedValueConverter
owing this converter.
It is required for recursive invocations during conversion.
- Returns:
- the
ComposedValueConverter
.
setComposedValueConverter
@Inject
public void setComposedValueConverter(ComposedValueConverter composedValueConverter)
- This method sets (injects) the
composedValueConverter
. It has to be called before AbstractComponent.initialize()
is invoked.
- Parameters:
composedValueConverter
- is the ComposedValueConverter
to set.
doInitialize
protected void doInitialize()
- This method performs the actual
initialization
. It is
called when AbstractComponent.initialize()
is invoked for the first time.
ATTENTION:
When you override this method from a sub-class you need to do a
super.AbstractComponent.doInitialize()
.
- Overrides:
doInitialize
in class AbstractValueConverter<SOURCE,TARGET>
Copyright © 2001-2010 mmm-Team. All Rights Reserved.