public class GenericDataProvider extends java.lang.Object implements DataProvider
Constructor and Description |
---|
GenericDataProvider() |
GenericDataProvider(DataProvider provider) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getData(java.lang.String dataId)
Returns the object corresponding to the specified data identifier.
|
void |
putData(DataKey key,
java.lang.Object value) |
void |
putData(java.lang.String key,
java.lang.Object value) |
public GenericDataProvider()
public GenericDataProvider(DataProvider provider)
public void putData(DataKey key, java.lang.Object value)
public void putData(java.lang.String key, java.lang.Object value)
public java.lang.Object getData(java.lang.String dataId)
DataProvider
PlatformDataKeys
class.getData
in interface DataProvider
dataId
- the data identifier for which the value is requested.