oracle.cabo.ui.data.servlet
Class PageContextDataObject

java.lang.Object
  |
  +--oracle.cabo.ui.data.servlet.PageContextDataObject
All Implemented Interfaces:
DataObject

public class PageContextDataObject
extends java.lang.Object
implements DataObject

Turns the attributes of a PageContext object into a DataObject, so they can be used as generic data objects for any interface that takes DataObjects. The attributes are searched for using the findAttribute() function, so they'll be looked for using the scoping rules of that function.


Constructor Summary
PageContextDataObject(javax.servlet.jsp.PageContext pageContext)
           
 
Method Summary
 java.lang.Object selectValue(RenderingContext context, java.lang.Object select)
          Given a select string, returns the value matching that selection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageContextDataObject

public PageContextDataObject(javax.servlet.jsp.PageContext pageContext)
Method Detail

selectValue

public java.lang.Object selectValue(RenderingContext context,
                                    java.lang.Object select)
Description copied from interface: DataObject
Given a select string, returns the value matching that selection. It is legal to return null if the select key doesn't match anything.

Specified by:
selectValue in interface DataObject
Following copied from interface: oracle.cabo.ui.data.DataObject
Parameters:
context - the current rendering context
select - a select criterion, syntax as defined by the data object