Uses of Class
org.springframework.ui.ModelMap
Package
Description
Generic support for UI layer concepts.
Support classes for handling validation results.
-
Uses of ModelMap in org.springframework.ui
Modifier and TypeClassDescriptionclass
Modifier and TypeMethodDescriptionModelMap.addAllAttributes
(Collection<?> attributeValues) Copy all attributes in the suppliedCollection
into thisMap
, using attribute name generation for each element.ModelMap.addAllAttributes
(Map<String, ?> attributes) Copy all attributes in the suppliedMap
into thisMap
.ModelMap.addAttribute
(Object attributeValue) Add the supplied attribute to thisMap
using agenerated name
.ModelMap.addAttribute
(String attributeName, Object attributeValue) Add the supplied attribute under the supplied name.ModelMap.mergeAttributes
(Map<String, ?> attributes) Copy all attributes in the suppliedMap
into thisMap
, with existing objects of the same name taking precedence (i.e. -
Uses of ModelMap in org.springframework.validation.support
Modifier and TypeClassDescriptionclass
Subclass ofExtendedModelMap
that automatically removes aBindingResult
object if the corresponding target attribute gets replaced through regularMap
operations.