Although any non-null Object can be a key or value in an AttributeMap, typically the keys are fields of TextAttribute. @see TextAttribute
Unlike UINodes, AttributeMaps do not retrieve the value of BoundValues stored inside AttributeMaps. Thus, if a BoundValue is stored in an AttributeMap, calling AttributeMap.getAttribute
will return the BoundValue instance, not instance.getValue(context)
.
As the RenderingContext is passed to both the getAttribtue
and keys methods, the contents of the AttibuteMap can be proxied through the RenderingContext to create AttributeMaps who's contents are determined based on the current context.
The BaseMutableUINode interface allows the storage of attributes in the UINode to be set by a call to setAttributeMap
.
@version $Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/collection/AttributeMap.java#0 $) $Date: 10-nov-2005.18:57:31 $ @author The Oracle ADF Faces Team @see AttributeKey @see org.apache.myfaces.trinidadinternal.ui.BaseMutableUINode#setAttributeMap
This class doesn't directly support mutation events, however, it notifies the document when mutations are performed so that the document class do so. @xerces.internal @version $Id: AttributeMap.java 348781 2005-11-24 18:48:01Z mrglavas $
Implementations can optionally support {@link AttributeMapBindingListener listeners} that will be notified whenthey're bound in or unbound from the map. @author Keith Donald
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|