类的使用
org.springframework.ui.ConcurrentModel
使用ConcurrentModel的程序包 程序包 说明 org.springframework.ui Generic support for UI layer concepts.org.springframework.validation.support Support classes for handling validation results.org.springframework.ui中ConcurrentModel的使用
返回ConcurrentModel的org.springframework.ui中的方法 修饰符和类型 方法 说明 ConcurrentModel
ConcurrentModel. addAllAttributes(Collection<?> attributeValues)
Copy all attributes in the suppliedCollection
into thisMap
, using attribute name generation for each element.ConcurrentModel
ConcurrentModel. addAllAttributes(Map<String,?> attributes)
Copy all attributes in the suppliedMap
into thisMap
.ConcurrentModel
ConcurrentModel. addAttribute(Object attributeValue)
Add the supplied attribute to thisMap
using agenerated name
.ConcurrentModel
ConcurrentModel. addAttribute(String attributeName, Object attributeValue)
Add the supplied attribute under the supplied name.ConcurrentModel
ConcurrentModel. mergeAttributes(Map<String,?> attributes)
Copy all attributes in the suppliedMap
into thisMap
, with existing objects of the same name taking precedence (i.e. not getting replaced).org.springframework.validation.support中ConcurrentModel的使用
org.springframework.validation.support中ConcurrentModel的子类 修饰符和类型 类 说明 class
BindingAwareConcurrentModel
Subclass ofConcurrentModel
that automatically removes theBindingResult
object when its corresponding target attribute is replaced through regularMap
operations.