Uses of Interface
org.springframework.ui.Model
Packages that use Model
Package
Description
Generic support for UI layer concepts.
Support classes for handling validation results.
-
Uses of Model in org.springframework.ui
Classes in org.springframework.ui that implement ModelModifier and TypeClassDescriptionclass
Implementation of theModel
interface based on aConcurrentHashMap
for use in concurrent scenarios.class
Methods in org.springframework.ui that return ModelModifier and TypeMethodDescriptionModel.addAllAttributes
(Collection<?> attributeValues) Copy all attributes in the suppliedCollection
into thisMap
, using attribute name generation for each element.Model.addAllAttributes
(Map<String, ?> attributes) Copy all attributes in the suppliedMap
into thisMap
.Model.addAttribute
(Object attributeValue) Add the supplied attribute to thisMap
using agenerated name
.Model.addAttribute
(String attributeName, Object attributeValue) Add the supplied attribute under the supplied name.Model.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 Model in org.springframework.validation.support
Classes in org.springframework.validation.support that implement ModelModifier and TypeClassDescriptionclass
Subclass ofConcurrentModel
that automatically removes theBindingResult
object when its corresponding target attribute is replaced through regularMap
operations.class
Subclass ofExtendedModelMap
that automatically removes aBindingResult
object if the corresponding target attribute gets replaced through regularMap
operations.