## 接口的使用
org.springframework.validation.MessageCodesResolver

- 使用MessageCodesResolver的程序包
  程序包 | 说明
  --- | ---
  org.springframework.validation | Provides data binding and validation functionality, for usage in business and/or UI layers.

- - ### org.springframework.validation中MessageCodesResolver的使用

    实现MessageCodesResolver的org.springframework.validation中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `DefaultMessageCodesResolver` Default implementation of the `MessageCodesResolver` interface.

    返回MessageCodesResolver的org.springframework.validation中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `MessageCodesResolver` | AbstractBindingResult.`getMessageCodesResolver()` Return the strategy to use for resolving errors into message codes.

    参数类型为MessageCodesResolver的org.springframework.validation中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | AbstractBindingResult.`setMessageCodesResolver(MessageCodesResolver messageCodesResolver)` Set the strategy to use for resolving errors into message codes.
    `void` | DataBinder.`setMessageCodesResolver(MessageCodesResolver messageCodesResolver)` Set the strategy to use for resolving errors into message codes.