|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MutableAttributeMap
An interface for accessing and modifying attributes in a backing map with string keys.
Implementations can optionally support listeners
that will be notified when
they're bound in or unbound from the map.
Method Summary | |
---|---|
MutableAttributeMap |
clear()
Remove all attributes in this map. |
java.lang.Object |
put(java.lang.String attributeName,
java.lang.Object attributeValue)
Put the attribute into this map. |
MutableAttributeMap |
putAll(AttributeMap attributes)
Put all the attributes into this map. |
java.lang.Object |
remove(java.lang.String attributeName)
Remove an attribute from this map. |
MutableAttributeMap |
replaceWith(AttributeMap attributes)
Replace the contents of this attribute map with the contents of the provided collection. |
Methods inherited from interface org.springframework.webflow.core.collection.AttributeMap |
---|
contains, contains, get, get, get, get, getArray, getBoolean, getBoolean, getCollection, getCollection, getInteger, getInteger, getLong, getLong, getNumber, getNumber, getRequired, getRequired, getRequiredArray, getRequiredBoolean, getRequiredCollection, getRequiredCollection, getRequiredInteger, getRequiredLong, getRequiredNumber, getRequiredString, getString, getString, isEmpty, size, union |
Methods inherited from interface org.springframework.binding.collection.MapAdaptable |
---|
asMap |
Method Detail |
---|
java.lang.Object put(java.lang.String attributeName, java.lang.Object attributeValue)
If the attribute value is an AttributeMapBindingListener
this map will publish
binding events
such as on "bind" and "unbind" if supported.
Note: not all MutableAttributeMap
implementations support this.
attributeName
- the attribute nameattributeValue
- the attribute value
MutableAttributeMap putAll(AttributeMap attributes)
attributes
- the attributes to put into this map
java.lang.Object remove(java.lang.String attributeName)
attributeName
- the name of the attribute to remove
MutableAttributeMap clear()
MutableAttributeMap replaceWith(AttributeMap attributes) throws java.lang.UnsupportedOperationException
attributes
- the attribute collection
java.lang.UnsupportedOperationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |