org.apache.myfaces.extensions.cdi.core.api.resource.bundle
Class BundleValue

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.core.api.resource.bundle.BundleValue
All Implemented Interfaces:
Serializable, BundleKey

public abstract class BundleValue
extends Object
implements BundleKey

Base class which has to be extended if a key resolves directly to the value. Compared to BundleKey it isn't needed to use the ResourceBundle manually for resolving the value. It's possible to call #toString in-/directly.

Author:
Gerhard Petracek
See Also:
Serialized Form

Constructor Summary
BundleValue()
           
 
Method Summary
protected  ResourceBundle getResourceBundle()
           
 String toString()
          Returns the value of the resource-bundle represented by this key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BundleValue

public BundleValue()
Method Detail

toString

public String toString()
Returns the value of the resource-bundle represented by this key

Overrides:
toString in class Object
Returns:
the value of the resource-bundle represented by this key

getResourceBundle

protected ResourceBundle getResourceBundle()


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