|
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.bean.BeanDataProvider
DataProvider implementation that will turn JavaBeans into DataObjects.
BeanAdapterUtils
,
BuildBeanDOAdapter
Constructor Summary | |
BeanDataProvider(BoundValue value,
boolean useLocalName)
Creates a BeanDataProvider |
Method Summary | |
void |
cleanup(RenderingContext context)
RenderingContext implementations must call cleanup() once after the last callto getDataObject(). |
DataObject |
getDataObject(RenderingContext context,
java.lang.String namespaceURI,
java.lang.String localName)
|
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 BeanDataProvider(BoundValue value, boolean useLocalName)
value
- the BoundValue used to retrieve the beanuseLocalName
- if true, the object returned from
the bound value will be interpreted as a DataObject itself;
the "localName" of the data object being requested will be
used as a select key. This feature makes it feasible
to use a single BeanDataProvider to serve a set of beans.Method Detail |
public DataObject getDataObject(RenderingContext context, java.lang.String namespaceURI, java.lang.String localName)
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)
DataProvider
init
in interface DataProvider
public void cleanup(RenderingContext context)
DataProvider
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 |