org.springframework.validation.support

## 类 BindingAwareModelMap

- java.lang.Object
- - java.util.AbstractMap<K,V>
  - - java.util.HashMap<K,V>
    - - java.util.LinkedHashMap<String,Object>
      - - org.springframework.ui.ModelMap
        - - org.springframework.ui.ExtendedModelMap
          - - org.springframework.validation.support.BindingAwareModelMap

- 所有已实现的接口:
    Serializable, Cloneable, Map<String,Object>, Model

      public class BindingAwareModelMap
      extends ExtendedModelMap

  Subclass of `ExtendedModelMap` that automatically removes a `BindingResult` object if the corresponding target attribute gets replaced through regular `Map` operations.

  This is the class exposed to handler methods by Spring MVC, typically consumed through a declaration of the `Model` interface. There is no need to build it within user code; a plain `ModelMap` or even a just a regular `Map` with String keys will be good enough to return a user model.

  从以下版本开始:
    2.5.6
  作者:
    Juergen Hoeller
  另请参阅:
    `BindingResult`, 序列化表格

- - ### 嵌套类概要

    - ### 从类继承的嵌套类/接口 java.util.AbstractMap

      `AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>`

  - ### 构造器概要

    构造器
    构造器和说明
    `BindingAwareModelMap()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | `put(String key, Object value)`
    `void` | `putAll(Map<? extends String,?> map)`

    - ### 从类继承的方法 org.springframework.ui.ExtendedModelMap

      `addAllAttributes, addAllAttributes, addAttribute, addAttribute, asMap, mergeAttributes`

    - ### 从类继承的方法 org.springframework.ui.ModelMap

      `containsAttribute`

    - ### 从类继承的方法 java.util.LinkedHashMap

      `clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values`

    - ### 从类继承的方法 java.util.HashMap

      `clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, size`

    - ### 从类继承的方法 java.util.AbstractMap

      `equals, hashCode, toString`

    - ### 从类继承的方法 java.lang.Object

      `finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### 从接口继承的方法 org.springframework.ui.Model

      `containsAttribute`

    - ### 从接口继承的方法 java.util.Map

      `compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, size`

- - ### 构造器详细资料

    - #### BindingAwareModelMap

          public BindingAwareModelMap()

  - ### 方法详细资料

    - #### put

          public Object put(String key,
                            Object value)

      指定者:
        `put` 在接口中 `Map<String,Object>`
      覆盖:
        `put` 在类中 `HashMap<String,Object>`

    - #### putAll

          public void putAll(Map<? extends String,?> map)

      指定者:
        `putAll` 在接口中 `Map<String,Object>`
      覆盖:
        `putAll` 在类中 `HashMap<String,Object>`