|
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.debug.SampleDataProvider
DataProvider that guesses at sample data. In order for this provider to do its job, special "hints" need to be attached to BoundValues. The XML parser supports this automatically, so this feature is likely only useable within UIX.
Constructor Summary | |
SampleDataProvider()
|
Method Summary | |
void |
cleanup(RenderingContext context)
RenderingContext implementations must call cleanup() once after the last callto getDataObject(). |
static BoundValue |
createBoundValue(BoundValue base,
AttributeKey attributeKey)
Creates a BoundValue that will supply the needed hint. |
static void |
enableHintParsing(ParseContext context)
Activates hints for data parsing. |
DataObject |
getDataObject(RenderingContext context,
java.lang.String namespace,
java.lang.String name)
|
void |
init(RenderingContext context)
RenderingContext implementations must call init() once before calling getDataObject(). |
static boolean |
isHintParsingEnabled(ParseContext context)
Tests if hints should be added. |
static DataProvider |
sharedInstance()
Returns the shared instance of this provider. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SampleDataProvider()
Method Detail |
public static DataProvider sharedInstance()
public static void enableHintParsing(ParseContext context)
public static boolean isHintParsingEnabled(ParseContext context)
public static BoundValue createBoundValue(BoundValue base, AttributeKey attributeKey)
public DataObject getDataObject(RenderingContext context, 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)
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 |