## 类的使用
org.springframework.validation.FieldError

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

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

    返回FieldError的org.springframework.validation中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `FieldError` | AbstractBindingResult.`getFieldError()`
    `FieldError` | AbstractErrors.`getFieldError()`
    `FieldError` | BindException.`getFieldError()`
    `FieldError` | Errors.`getFieldError()` Get the first error associated with a field, if any.
    `FieldError` | AbstractBindingResult.`getFieldError(String field)`
    `FieldError` | AbstractErrors.`getFieldError(String field)`
    `FieldError` | BindException.`getFieldError(String field)`
    `FieldError` | Errors.`getFieldError(String field)` Get the first error associated with the given field, if any.

    返回变量类型为FieldError的类型的org.springframework.validation中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `List<FieldError>` | AbstractBindingResult.`getFieldErrors()`
    `List<FieldError>` | BindException.`getFieldErrors()`
    `List<FieldError>` | Errors.`getFieldErrors()` Get all errors associated with a field.
    `List<FieldError>` | AbstractBindingResult.`getFieldErrors(String field)`
    `List<FieldError>` | AbstractErrors.`getFieldErrors(String field)`
    `List<FieldError>` | BindException.`getFieldErrors(String field)`
    `List<FieldError>` | Errors.`getFieldErrors(String field)` Get all errors associated with the given field.

    参数类型为FieldError的org.springframework.validation中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected boolean` | AbstractErrors.`isMatchingFieldError(String field, FieldError fieldError)` Check whether the given FieldError matches the given field.