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

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

public class ContextPropertyBoundValue
extends java.lang.Object
implements BoundValue

BoundValue implementation that returns the result of calling RenderingContext.getProperty().

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

Constructor Summary
ContextPropertyBoundValue(java.lang.String namespace, java.lang.Object key)
          Create a BoundValue that returns the result of calling RenderingContext.getProperty()
 
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

ContextPropertyBoundValue

public ContextPropertyBoundValue(java.lang.String namespace,
                                 java.lang.Object key)
Create a BoundValue that returns the result of calling RenderingContext.getProperty()

See Also:
UIXRenderingContext.getProperty(java.lang.String, java.lang.Object), UIXRenderingContext.setProperty(java.lang.String, java.lang.Object, java.lang.Object)
Method Detail

getValue

public java.lang.Object getValue(UIXRenderingContext context)
Called to retrieve a value based on the current rendering context. ContextPropertyBoundValues always return the value passed into the constructor.

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


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.