public class WebConversionServiceProvider extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
WebConversionServiceProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Object |
convert(Object source,
org.springframework.core.convert.TypeDescriptor targetTypeDescriptor)
Attempts to convert
source into the target type as described by targetTypeDescriptor. |
Class<?> |
getSpringConvertedType(Class<?> clazz)
Gets spring converted type.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean@Nullable public Object convert(@Nullable Object source, org.springframework.core.convert.TypeDescriptor targetTypeDescriptor)
source into the target type as described by targetTypeDescriptor.source - the sourcetargetTypeDescriptor - the target type descriptorpublic Class<?> getSpringConvertedType(Class<?> clazz)
clazz - the clazzpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2024. All rights reserved.