Generated by
JDiff

org.springframework.core.convert.support Documentation Differences

This file contains all the changes in documentation in the package org.springframework.core.convert.support as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class GenericConversionService

Base ConversionService implementation suitable for use in most environments. Indirectly implements ConverterRegistry as registration API through the ConfigurableConversionService interface. @author Keith Donald @author Juergen Hoeller @author Chris Beams @author Phillip Webb @since 3.0
Class GenericConversionService, Object convert(Object, TypeDescriptor)

Convenience operation for converting a source object to the specified targetType, where the targetType is a descriptor that provides additional conversion context. Simply delegates to .convert(Object, TypeDescriptor, TypeDescriptor) andand encapsulates the construction of the sourceType descriptor usingusing TypeDescriptor.forObject(Object). @param source the source object @param targetType the target type @return the converted value @throws ConversionException if a conversion exception occurred @throws IllegalArgumentException if targetType is null @throws IllegalArgumentExceptionnull, ifor sourceType is null but source is not null
Class GenericConversionService, GenericConverter getConverter(TypeDescriptor, TypeDescriptor)

Hook method to lookup the converter for a given sourceType/targetType pair. First queries this ConversionService's converter cache. On a cache miss, then performs an exhaustive search for a matching converter. If no converter matches, returns the default converter. Subclasses may override. @param sourceType the source type to convert from @param targetType the target type to convert to @return the generic converter that will perform the conversion, or {@code null if} if no suitable converter was found @see #getDefaultConverter(TypeDescriptor, TypeDescriptor)