|
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.MethodDataProvider
DataProvider that binds to a method with introspection.
The method can have any name, but must still have the some parameters
as DataProvider.getDataObject()
.
Constructor Summary | |
MethodDataProvider(java.lang.Class classInstance,
java.lang.String name)
Creates a MethodDataProvider bound to a static method. |
|
MethodDataProvider(java.lang.Object instance,
java.lang.String name)
Creates a MethodDataProvider bound to an instance method. |
Method Summary | |
void |
cleanup(RenderingContext c)
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 c)
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 MethodDataProvider(java.lang.Object instance, java.lang.String name) throws java.lang.NoSuchMethodException
instance
- the object on which the method should be calledname
- the name of the methodpublic MethodDataProvider(java.lang.Class classInstance, java.lang.String name) throws java.lang.NoSuchMethodException
classInstance
- the class on which the method should be calledname
- the name of the static methodMethod 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 c)
DataProvider
init
in interface DataProvider
public void cleanup(RenderingContext c)
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 |