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

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

public class StringExistsBoundValue
extends java.lang.Object
implements BoundValue

BoundValue that wraps another BoundValue and returns Boolean.TRUE if converting its result to a String results in a non-null and non-empty String; otherwise, returns Boolean.FALSE.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/data/bind/StringExistsBoundValue.java#0 $) $Date: 10-nov-2005.18:56:42 $
Author:
The Oracle ADF Faces Team

Constructor Summary
StringExistsBoundValue(BoundValue wrapped)
          Creates a StringExistsBoundValue.
 
Method Summary
 java.lang.Object getValue(UIXRenderingContext 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

StringExistsBoundValue

public StringExistsBoundValue(BoundValue wrapped)
Creates a StringExistsBoundValue.

Parameters:
wrapped - the BoundValue to convert into a String.
Method Detail

getValue

public java.lang.Object getValue(UIXRenderingContext context)
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-2007 Apache Software Foundation. All Rights Reserved.