net.sf.mmm.util.value.impl
Class DefaultComposedValueConverter

java.lang.Object
  extended by net.sf.mmm.util.component.base.AbstractComponent
      extended by net.sf.mmm.util.component.base.AbstractLoggableComponent
          extended by net.sf.mmm.util.value.base.AbstractGenericValueConverter<Object>
              extended by net.sf.mmm.util.value.base.AbstractComposedValueConverter
                  extended by net.sf.mmm.util.value.impl.ComposedValueConverterImpl
                      extended by net.sf.mmm.util.value.impl.DefaultComposedValueConverter
All Implemented Interfaces:
ComposedValueConverter, GenericValueConverter<Object>, SimpleValueConverter<Object,Object>, ValueConverter<Object,Object>

public class DefaultComposedValueConverter
extends ComposedValueConverterImpl

This is a default ComposedValueConverter to be used without IoC-Container. It extends ComposedValueConverterImpl by adding typical ValueConverters.

Since:
1.0.1
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.mmm.util.value.impl.ComposedValueConverterImpl
ComposedValueConverterImpl.ComposedTargetTypeConverter<TARGET>, ComposedValueConverterImpl.TargetClass2ConverterMap
 
Constructor Summary
DefaultComposedValueConverter()
          The constructor.
 
Method Summary
 void addConverterComponent(ValueConverter<?,?> converter)
           
protected  void doInitialize()
          This method performs the actual initialization.
 
Methods inherited from class net.sf.mmm.util.value.impl.ComposedValueConverterImpl
addConverter, convert, convertRecursive, isAccepted, isApplicable, isApplicable, setConverters
 
Methods inherited from class net.sf.mmm.util.value.base.AbstractComposedValueConverter
convert, convertValue, convertValue, getReflectionUtil, getSourceType, getTargetType, setReflectionUtil
 
Methods inherited from class net.sf.mmm.util.value.base.AbstractGenericValueConverter
convertValue, convertValue, convertValue, convertValue
 
Methods inherited from class net.sf.mmm.util.component.base.AbstractLoggableComponent
getLogger, setLogger
 
Methods inherited from class net.sf.mmm.util.component.base.AbstractComponent
doInitialized, getInitializationState, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.mmm.util.value.api.GenericValueConverter
convertValue, convertValue, convertValue, convertValue
 

Constructor Detail

DefaultComposedValueConverter

public DefaultComposedValueConverter()
The constructor.

Method Detail

addConverterComponent

public void addConverterComponent(ValueConverter<?,?> converter)
Parameters:
converter - is the converter to add.
See Also:
ComposedValueConverterImpl.addConverter(ValueConverter)

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 ComposedValueConverterImpl


Copyright © 2001-2010 mmm-Team. All Rights Reserved.