| Package | Description | 
|---|---|
| org.springframework.ui | Generic support for UI layer concepts. | 
| org.springframework.validation.support | Support classes for handling validation results. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ExtendedModelMap | 
| Modifier and Type | Method and Description | 
|---|---|
| ModelMap | ModelMap. addAllAttributes(Collection<?> attributeValues)Copy all attributes in the supplied  Collectioninto thisMap, using attribute name generation for each element. | 
| ModelMap | ModelMap. addAllAttributes(Map<String,?> attributes)Copy all attributes in the supplied  Mapinto thisMap. | 
| ModelMap | ModelMap. addAttribute(Object attributeValue)Add the supplied attribute to this  Mapusing agenerated name. | 
| ModelMap | ModelMap. addAttribute(String attributeName,
            Object attributeValue)Add the supplied attribute under the supplied name. | 
| ModelMap | ModelMap. mergeAttributes(Map<String,?> attributes)Copy all attributes in the supplied  Mapinto thisMap,
 with existing objects of the same name taking precedence (i.e. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BindingAwareModelMapSubclass of  ExtendedModelMapthat automatically removes
 aBindingResultobject if the corresponding
 target attribute gets replaced through regularMapoperations. |