public final class PropertyEditorResolver extends Object
Modifier and Type | Method and Description |
---|---|
static PropertyEditor |
findEditor(Class<?> type)
Locate a value editor for a given target type.
|
@Nonnull public static PropertyEditor findEditor(@Nonnull Class<?> type)
type
is an Enum then an instance of EnumPropertyEditor
is returned with the type
set as enumType
.type
- The Class object for the type to be editedEnumPropertyEditor