org.apache.myfaces.trinidadinternal.ui.laf.base
Class SkinTranslatedBoundValue

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.ui.laf.base.SkinTranslatedBoundValue
All Implemented Interfaces:
BoundValue

public class SkinTranslatedBoundValue
extends java.lang.Object
implements BoundValue

BoundValue used to retrieve a translated String from the Skin, with a specified key.

If either the the key can not be found, an error message will be written to the error log.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/laf/base/SkinTranslatedBoundValue.java#0 $) $Date: 10-nov-2005.18:53:07 $
Author:
The Oracle ADF Faces Team
See Also:
org.apache.myfaces.trinidadinternal.share.nls.LocaleContext

Constructor Summary
SkinTranslatedBoundValue(java.lang.String key)
          Create a SkinTranslatedBoundValue that will retrieve the translated String specified by key from the Skin.
 
Method Summary
 java.lang.Object getValue(UIXRenderingContext context)
          Retrieves the translated value from the ResourceBundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkinTranslatedBoundValue

public SkinTranslatedBoundValue(java.lang.String key)
Create a SkinTranslatedBoundValue that will retrieve the translated String specified by key from the Skin.

Parameters:
key - Key to use to look up value in ResourceBundle
Method Detail

getValue

public java.lang.Object getValue(UIXRenderingContext context)
Retrieves the translated value from the ResourceBundle.

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


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