类的使用
cn.taketoday.validation.FieldError
使用FieldError的程序包
程序包
说明
Provides data binding and validation functionality,
for usage in business and/or UI layers.
-
cn.taketoday.validation中FieldError的使用
修饰符和类型方法说明AbstractBindingResult.getFieldError()AbstractBindingResult.getFieldError(String field) AbstractErrors.getFieldError()AbstractErrors.getFieldError(String field) BindException.getFieldError()BindException.getFieldError(String field) Errors.getFieldError()Get the first error associated with a field, if any.Errors.getFieldError(String field) Get the first error associated with the given field, if any.返回变量类型为FieldError的类型的cn.taketoday.validation中的方法修饰符和类型方法说明AbstractBindingResult.getFieldErrors()AbstractBindingResult.getFieldErrors(String field) AbstractErrors.getFieldErrors(String field) BindException.getFieldErrors()BindException.getFieldErrors(String field) Errors.getFieldErrors()Get all errors associated with a field.Errors.getFieldErrors(String field) Get all errors associated with the given field.参数类型为FieldError的cn.taketoday.validation中的方法修饰符和类型方法说明protected booleanAbstractErrors.isMatchingFieldError(String field, FieldError fieldError) Check whether the given FieldError matches the given field.