Uses of Class
org.springframework.ui.ModelMap
Packages that use ModelMap
Package
Description
Generic support for UI layer concepts.
Support classes for handling validation results.
-
Uses of ModelMap in org.springframework.ui
Subclasses of ModelMap in org.springframework.uiModifier and TypeClassDescriptionclass
Methods in org.springframework.ui that return ModelMapModifier 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
Subclasses of ModelMap in org.springframework.validation.supportModifier and TypeClassDescriptionclass
Subclass ofExtendedModelMap
that automatically removes aBindingResult
object if the corresponding target attribute gets replaced through regularMap
operations.