## 类的使用
org.springframework.ui.ExtendedModelMap

- 使用ExtendedModelMap的程序包
  程序包 | 说明
  --- | ---
  org.springframework.ui | Generic support for UI layer concepts.
  org.springframework.validation.support | Support classes for handling validation results.

- - ### org.springframework.ui中ExtendedModelMap的使用

    返回ExtendedModelMap的org.springframework.ui中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ExtendedModelMap` | ExtendedModelMap.`addAllAttributes(Collection<?> attributeValues)`
    `ExtendedModelMap` | ExtendedModelMap.`addAllAttributes(Map<String,?> attributes)`
    `ExtendedModelMap` | ExtendedModelMap.`addAttribute(Object attributeValue)`
    `ExtendedModelMap` | ExtendedModelMap.`addAttribute(String attributeName, Object attributeValue)`
    `ExtendedModelMap` | ExtendedModelMap.`mergeAttributes(Map<String,?> attributes)`

  - ### org.springframework.validation.support中ExtendedModelMap的使用

    org.springframework.validation.support中ExtendedModelMap的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `BindingAwareModelMap` Subclass of `ExtendedModelMap` that automatically removes a `BindingResult` object if the corresponding target attribute gets replaced through regular `Map` operations.