Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.ui.collection
Class ContextMapDataObject

java.lang.Object
  |
  +--oracle.cabo.ui.collection.ContextMapDataObject
All Implemented Interfaces:
DataObject, KeyedDataObject

public class ContextMapDataObject
extends java.lang.Object
implements KeyedDataObject

Adapts a ContextMap into a KeyedDataObject

See Also:
BaseMutableUINode.setNamedChildMap(oracle.cabo.ui.collection.ContextMap)

Constructor Summary
ContextMapDataObject(ContextMap map)
           
 
Method Summary
 java.util.Enumeration keys(RenderingContext context)
          Returns an Enumeration of all of the keys in the ContextMap given the specified context.
 java.lang.Object selectValue(RenderingContext context, java.lang.Object select)
          Returns a value from the underlying ContextMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextMapDataObject

public ContextMapDataObject(ContextMap map)
Method Detail

selectValue

public java.lang.Object selectValue(RenderingContext context,
                                    java.lang.Object select)
Returns a value from the underlying ContextMap

Specified by:
selectValue in interface DataObject
Parameters:
context - the current rendering context
select - the key of the ContextMap to return the value of

keys

public java.util.Enumeration keys(RenderingContext context)
Returns an Enumeration of all of the keys in the ContextMap given the specified context.

The entire contents of the ContextMap can be retrieved by calling ContextMap.get for each of the keys in the enumeration.

Specified by:
keys in interface KeyedDataObject
Parameters:
RenderingContext - context Context used to determine the set of keys.
Returns:
The Enumeration of keys in the RenderingContext

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.