org.apache.myfaces.trinidadinternal.ui.data.bind
Class ToStringBoundValue

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.ui.data.bind.ToStringBoundValue
All Implemented Interfaces:
BoundValue

Deprecated. This class comes from the old Java 1.2 UIX codebase and should not be used anymore.

@Deprecated
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.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/data/bind/ToStringBoundValue.java#0 $) $Date: 10-nov-2005.18:56:42 $

Constructor Summary
ToStringBoundValue(BoundValue wrapped)
          Deprecated. Creates a ToStringBoundValue.
 
Method Summary
static java.lang.String convertToString(java.lang.Object data)
          Deprecated. Converts an Object into a String for non-null values.
 java.lang.Object getValue(UIXRenderingContext context)
          Deprecated. 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)
Deprecated. 
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)
Deprecated. 
Converts an Object into a String for non-null values.


getValue

public java.lang.Object getValue(UIXRenderingContext context)
Deprecated. 
Description copied from interface: BoundValue
Called to retrieve a value based on the current rendering context.

Specified by:
getValue in interface BoundValue
Parameters:
context - the rendering context


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.