|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packageorg.springframework.beans
as colored differences. Deletions are shownlike 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.
Simple implementation of the TypeConverter interface that does notoperate on anyoperate on a specific target object. This is an alternative to using a full-blownblownBeanWrapperImplBeanWrapperImpl instance for arbitrary type conversion needs, while using the very same conversion algorithm (including delegation to java.beans.PropertyEditor and org.springframework.core.convert.ConversionService) underneath. @author Juergen Hoeller @since 2.0 @see BeanWrapperImpl
Interface that defines type conversion methods. Typically (but not necessarily) implemented in conjunction with the PropertyEditorRegistry interface. @author Juergen Hoeller @since 2.0 @seeClass TypeConverter, T convertIfNecessary(Object, Class<T>)PropertyEditorRegistry @seeSimpleTypeConverter @see BeanWrapperImpl
Convert the value to the required type (if necessary from a String).Conversions from String to any type will typically use the
setAsText
method of the PropertyEditor class. Note,thator aPropertyEditor must be registered for the givenSpringclass for this to work;Converterthis isin astandard JavaBeans API. A number of PropertyEditors are automatically registeredConversionService. @param value the value to convert @param requiredType the type we must convert to (ornull
if not known, for example in case of a collection element) @return the new value, possibly the result of type conversion @throws TypeMismatchException if type conversion failed @see java.beans.PropertyEditor#setAsText(String) @see java.beans.PropertyEditor#getValue() @see org.springframework.core.convert.ConversionService @see org.springframework.core.convert.converter.Converter