org.apache.myfaces.trinidadinternal.uinode.bind
Class ClientIdBoundValue

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.uinode.bind.ClientIdBoundValue
All Implemented Interfaces:
BoundValue

public class ClientIdBoundValue
extends java.lang.Object
implements BoundValue

BoundValue that returns the clientId of the component.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/uinode/bind/ClientIdBoundValue.java#0 $) $Date: 10-nov-2005.18:49:31 $
Author:
The Oracle ADF Faces Team

Constructor Summary
ClientIdBoundValue(javax.faces.component.UIComponent component)
          Creates a ClientIdBoundValue.
ClientIdBoundValue(javax.faces.component.UIComponent component, boolean onlyIfIdSet)
          Creates a ClientIdBoundValue.
 
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

ClientIdBoundValue

public ClientIdBoundValue(javax.faces.component.UIComponent component)
Creates a ClientIdBoundValue.

Parameters:
component - the UIComponent

ClientIdBoundValue

public ClientIdBoundValue(javax.faces.component.UIComponent component,
                          boolean onlyIfIdSet)
Creates a ClientIdBoundValue.

Parameters:
component - the UIComponent
onlyIfIdSet - if true, ClientIdBoundValue will return null when "id" is null.
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.