|
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.DataBoundValue
DataBoundValue implements BoundValue to retrieve a DataObject from the current rendering context, and perform a select on that object.
Constructor Summary | |
DataBoundValue(java.lang.Object select)
Creates a BoundValue bound to the context's "current data object". |
|
DataBoundValue(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.Object select)
Creates a BoundValue bound to a named data object on the context. |
Method Summary | |
java.lang.String |
getLocalName()
Returns the local name. |
java.lang.String |
getNamespaceURI()
Returns the namespace. |
java.lang.Object |
getSelect()
Returns the select key. |
java.lang.Object |
getValue(RenderingContext context)
Called to retrieve a value based on the current rendering context. |
static void |
handleException(RenderingContext context,
java.lang.RuntimeException exception)
Handles a RuntimeException by checking the rendering state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataBoundValue(java.lang.Object select)
return context.getCurrentDataObject().selectValue(context, select);
select
- the select stringpublic DataBoundValue(java.lang.String namespaceURI, java.lang.String localName, java.lang.Object select)
return context.getDataObject(namespaceURI, localName). selectValue(context, select);If the select string is null, DataBoundValue will directly return the named data object:
return context.getDataObject(namespaceURI, localName);
namespaceURI
- the namespace of the DataObject to uselocalName
- the name of the DataObject to useselect
- the select stringMethod Detail |
public java.lang.Object getValue(RenderingContext context)
getValue
in interface BoundValue
context
- the rendering contextpublic java.lang.Object getSelect()
public java.lang.String getLocalName()
public java.lang.String getNamespaceURI()
public static void handleException(RenderingContext context, java.lang.RuntimeException exception)
UIConstants.EXCEPTIONS_CAUGHT_PROPERTY
,
ErrorLog
|
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 |