|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.data.provider.FixedDataProvider
This DataProvider wraps a single DataObject. It can work one of two ways:
TableDataProvider
Constructor Summary | |
FixedDataProvider(DataObject data)
Creates a FixedDataProvider. |
|
FixedDataProvider(java.lang.String namespace,
java.lang.String name,
DataObject data)
Creates a FixedDataProvider. |
Method Summary | |
void |
cleanup(RenderingContext context)
RenderingContext implementations must call cleanup() once after the last callto getDataObject(). |
DataObject |
getDataObject(RenderingContext cntxt,
java.lang.String namespace,
java.lang.String name)
Returns the data object if the namespace and name are an exact match. |
void |
init(RenderingContext context)
RenderingContext implementations must call init() once before calling getDataObject(). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FixedDataProvider(DataObject data)
data
- the data object instancepublic FixedDataProvider(java.lang.String namespace, java.lang.String name, DataObject data)
namespace
- the namespace for the data objectname
- the name of the data objectdata
- the data object instanceMethod Detail |
public DataObject getDataObject(RenderingContext cntxt, java.lang.String namespace, java.lang.String name)
getDataObject
in interface DataProvider
oracle.cabo.ui.data.DataProvider
context
- the current rendering contextnamespace
- the namespace of the requested DataObjectname
- the name of the requested DataObjectpublic void init(RenderingContext context)
init
in interface DataProvider
public void cleanup(RenderingContext context)
cleanup
in interface DataProvider
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |