Package | Description |
---|---|
org.tinygroup.commons.collection |
Modifier and Type | Method and Description |
---|---|
ModelMap |
ModelMap.addAllAttributes(Collection<?> attributeValues)
Copy all attributes in the supplied
Collection into this
Map , using attribute name generation for each element. |
ModelMap |
ModelMap.addAllAttributes(Map<String,?> attributes)
Copy all attributes in the supplied
Map into this
Map . |
ModelMap |
ModelMap.addAllObjects(Collection<?> objects)
Deprecated.
as of Spring 2.5, in favor of
addAllAttributes(Collection) |
ModelMap |
ModelMap.addAllObjects(Map objects)
Deprecated.
as of Spring 2.5, in favor of
addAllAttributes(Map) |
ModelMap |
ModelMap.addAttribute(Object attributeValue)
Add the supplied attribute to this
Map using a
generated
name . |
ModelMap |
ModelMap.addAttribute(String attributeName,
Object attributeValue)
Add the supplied attribute under the supplied name.
|
ModelMap |
ModelMap.addObject(Object modelObject)
Deprecated.
as of Spring 2.5, in favor of
addAttribute(Object) |
ModelMap |
ModelMap.addObject(String modelName,
Object modelObject)
Deprecated.
as of Spring 2.5, in favor of
addAttribute(String, Object) |
ModelMap |
ModelMap.mergeAttributes(Map<String,?> attributes)
Copy all attributes in the supplied
Map into this
Map , with existing objects of the same name taking
precedence (i.e. |
Copyright © 2006–2018 TinyGroup. All rights reserved.