类 SpringConverterAdapter
- java.lang.Object
-
- io.microsphere.spring.core.convert.SpringConverterAdapter
-
- 所有已实现的接口:
org.springframework.core.convert.converter.ConditionalConverter
,org.springframework.core.convert.converter.ConditionalGenericConverter
,org.springframework.core.convert.converter.GenericConverter
public class SpringConverterAdapter extends java.lang.Object implements org.springframework.core.convert.converter.ConditionalGenericConverter
SpringConverter
Adapter based on MicrosphereConverters
- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
- 另请参阅:
Converter
,Converter
,ConfigurableConversionService
-
-
字段概要
字段 修饰符和类型 字段 说明 static SpringConverterAdapter
INSTANCE
SingletonSpringConverterAdapter
-
构造器概要
构造器 构造器 说明 SpringConverterAdapter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.Object
convert(java.lang.Object source, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)
java.util.Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair>
getConvertibleTypes()
boolean
matches(org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)
-
-
-
字段详细资料
-
INSTANCE
public static final SpringConverterAdapter INSTANCE
SingletonSpringConverterAdapter
-
-
方法详细资料
-
matches
public boolean matches(org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)
- 指定者:
matches
在接口中org.springframework.core.convert.converter.ConditionalConverter
-
getConvertibleTypes
public java.util.Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()
- 指定者:
getConvertibleTypes
在接口中org.springframework.core.convert.converter.GenericConverter
-
convert
public java.lang.Object convert(java.lang.Object source, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)
- 指定者:
convert
在接口中org.springframework.core.convert.converter.GenericConverter
-
-