org.apache.myfaces.extensions.cdi.core.api.resource.bundle
Class BundleValue
java.lang.Object
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.
- See Also:
- Serialized Form
BundleValue
public BundleValue()
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.