类 AbstractConditionalEnumConverter
java.lang.Object
cn.taketoday.core.conversion.support.AbstractConditionalEnumConverter
- 所有已实现的接口:
ConditionalConverter
A
ConditionalConverter base implementation for enum-based converters.- 从以下版本开始:
- 4.0
- 作者:
- Stephane Nicoll
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanmatches(TypeDescriptor sourceType, TypeDescriptor targetType) Should the conversion fromsourceTypetotargetTypecurrently under consideration be selected?
-
字段详细资料
-
conversionService
-
-
构造器详细资料
-
AbstractConditionalEnumConverter
-
-
方法详细资料
-
matches
从接口复制的说明:ConditionalConverterShould the conversion fromsourceTypetotargetTypecurrently under consideration be selected?- 指定者:
matches在接口中ConditionalConverter- 参数:
sourceType- the type descriptor of the field we are converting fromtargetType- the type descriptor of the field we are converting to- 返回:
- true if conversion should be performed, false otherwise
-