Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.ui.data.bind
Class ToStringBoundValue

java.lang.Object
  |
  +--oracle.cabo.ui.data.bind.ToStringBoundValue
All Implemented Interfaces:
BoundValue

public class ToStringBoundValue
extends java.lang.Object
implements BoundValue

BoundValue that wraps another BoundValue and returns the result of that BoundValue as a String, if possible.


Constructor Summary
ToStringBoundValue(BoundValue wrapped)
          Creates a ToStringBoundValue.
 
Method Summary
static java.lang.String convertToString(java.lang.Object data)
          Converts an Object into a String for non-null values.
 java.lang.Object getValue(RenderingContext context)
          Called to retrieve a value based on the current rendering context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToStringBoundValue

public ToStringBoundValue(BoundValue wrapped)
Creates a ToStringBoundValue.
Parameters:
wrapped - the BoundValue to convert into a String.
Method Detail

convertToString

public static java.lang.String convertToString(java.lang.Object data)
Converts an Object into a String for non-null values.

getValue

public java.lang.Object getValue(RenderingContext context)
Description copied from interface: BoundValue
Called to retrieve a value based on the current rendering context.
Specified by:
getValue in interface BoundValue
Following copied from interface: oracle.cabo.ui.data.BoundValue
Parameters:
context - the rendering context

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.