spring-framework / org.springframework.beans.support / ArgumentConvertingMethodInvoker / registerCustomEditor

registerCustomEditor

open fun registerCustomEditor(requiredType: Class<*>, propertyEditor: PropertyEditor): Unit

Register the given custom property editor for all properties of the given type.

Typically used in conjunction with the default org.springframework.beans.SimpleTypeConverter; will work with any TypeConverter that implements the PropertyEditorRegistry interface as well.

Parameters

requiredType - type of the property

propertyEditor - editor to register

See Also
#setTypeConverterorg.springframework.beans.PropertyEditorRegistry#registerCustomEditor