* A meta interface a Converter may implement to describe what types he can convert between.
* Implementing this interface is required when registering converters that do not declare their parameterized types S and T with a {@link TypeConverter}.
*
* Implementing this interface is required when registering converters that do not declare their
* parameterized types S and T with a {@link org.springframework.core.convert.ConversionService}.
* Such Converters are often dynamically created by a {@link ConverterFactory}.
*
* @author Keith Donald
* @since 3.0
* @see Converter
...
...
@@ -31,11 +33,11 @@ public interface ConverterInfo {
* @param sourceCollection the source collection to convert from, an instance of sourceCollectionType, which must be either an array or java.util.Collection type
* Override to perform collection conversion.
* @param sourceCollection the source collection to convert from, an instance of sourceCollectionType,
* which must be either an array or java.util.Collection type.
* @return the converted target collection, an instance of targetCollectionType
* @throws Exception an exception occurred during the conversion
thrownewIllegalArgumentException("Unable to the determine sourceType <S> and targetType <T> your ConverterFactory<S, T> creates Converters to convert between");