org.springframework.beans

## 接口 PropertyEditorRegistrar

- 所有已知实现类:
    ResourceEditorRegistrar

      public interface PropertyEditorRegistrar

  Interface for strategies that register custom `property editors` with a `property editor registry`.

  This is particularly useful when you need to use the same set of property editors in several different situations: write a corresponding registrar and reuse that in each case.

  从以下版本开始:
    1.2.6
  作者:
    Juergen Hoeller
  另请参阅:
    `PropertyEditorRegistry`, `PropertyEditor`

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `registerCustomEditors(PropertyEditorRegistry registry)` Register custom `PropertyEditors` with the given `PropertyEditorRegistry`.

- - ### 方法详细资料

    - #### registerCustomEditors

          void registerCustomEditors(PropertyEditorRegistry registry)

      Register custom `PropertyEditors` with the given `PropertyEditorRegistry`.

      The passed-in registry will usually be a `BeanWrapper` or a `DataBinder`.

      It is expected that implementations will create brand new `PropertyEditors` instances for each invocation of this method (since `PropertyEditors` are not threadsafe).

      参数:
        `registry` - the `PropertyEditorRegistry` to register the custom `PropertyEditors` with