|
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 method
public 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 method| Method Detail |
public DataObject getDataObject(RenderingContext context,
java.lang.String namespaceURI,
java.lang.String localName)
getDataObject in interface DataProvideroracle.cabo.ui.data.DataProvidercontext - the current rendering contextnamespace - the namespace of the requested DataObjectname - the name of the requested DataObjectpublic void init(RenderingContext c)
DataProviderinit in interface DataProviderpublic void cleanup(RenderingContext c)
DataProvidercleanup 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 | ||||||||