UIX 2.2.16

oracle.cabo.ui.data.bind
Class NonEmptyTextBoundValue

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

public class NonEmptyTextBoundValue
extends java.lang.Object
implements BoundValue

A BoundValue implementation that wraps another and returns a non-breaking space in place of null or the empty string.


Constructor Summary
NonEmptyTextBoundValue(BoundValue wrapped)
          Creates a NonEmptyTextBoundValue.
 
Method Summary
 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

NonEmptyTextBoundValue

public NonEmptyTextBoundValue(BoundValue wrapped)
Creates a NonEmptyTextBoundValue.
Parameters:
wrapped - the BoundValue to try first
Method Detail

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

UIX 2.2.16