类 MapBindingResult

所有已实现的接口:
BindingResult, Errors, Serializable

public class MapBindingResult extends AbstractBindingResult implements Serializable
Map-based implementation of the BindingResult interface, supporting registration and evaluation of binding errors on Map attributes.

Can be used as errors holder for custom binding onto a Map, for example when invoking a Validator for a Map object.

从以下版本开始:
4.0
作者:
Juergen Hoeller
另请参阅:
  • 构造器详细资料

    • MapBindingResult

      public MapBindingResult(Map<?,?> target, String objectName)
      Create a new MapBindingResult instance.
      参数:
      target - the target Map to bind onto
      objectName - the name of the target object
  • 方法详细资料