org.apache.myfaces.trinidadinternal.ui.collection
Class UINodeAttributeMap

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.ui.collection.UINodeAttributeMap
All Implemented Interfaces:
AttributeMap
Direct Known Subclasses:
RootAttributeMap

public abstract class UINodeAttributeMap
extends java.lang.Object
implements AttributeMap

AttributeMap that treats a UINode as an attribute map.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/collection/UINodeAttributeMap.java#0 $) $Date: 10-nov-2005.18:57:35 $
Author:
The Oracle ADF Faces Team

Constructor Summary
UINodeAttributeMap()
           
 
Method Summary
 java.util.Iterator<AttributeKey> attributeKeys(UIXRenderingContext context)
          Returns an Iterator of all of the AttributeKeys in the AttributeMap that values exist for.
 java.lang.Object getAttribute(UIXRenderingContext context, AttributeKey key)
          Returns the value in the AttributeMap specified by the key.
protected  UIXRenderingContext getRenderingContext(UIXRenderingContext context)
           
protected abstract  UINode getUINode(UIXRenderingContext context)
           
 void setAttribute(AttributeKey key, java.lang.Object value)
          Sets an attribute value specified by the key to the new value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UINodeAttributeMap

public UINodeAttributeMap()
Method Detail

getUINode

protected abstract UINode getUINode(UIXRenderingContext context)

getRenderingContext

protected UIXRenderingContext getRenderingContext(UIXRenderingContext context)

getAttribute

public java.lang.Object getAttribute(UIXRenderingContext context,
                                     AttributeKey key)
Description copied from interface: AttributeMap
Returns the value in the AttributeMap specified by the key.

Specified by:
getAttribute in interface AttributeMap

setAttribute

public void setAttribute(AttributeKey key,
                         java.lang.Object value)
Description copied from interface: AttributeMap
Sets an attribute value specified by the key to the new value.

Specified by:
setAttribute in interface AttributeMap

attributeKeys

public java.util.Iterator<AttributeKey> attributeKeys(UIXRenderingContext context)
Description copied from interface: AttributeMap
Returns an Iterator of all of the AttributeKeys in the AttributeMap that values exist for.

Specified by:
attributeKeys in interface AttributeMap


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.