org.apache.myfaces.tobago.context
Class TobagoBundle

java.lang.Object
  extended by java.util.ResourceBundle
      extended by org.apache.myfaces.tobago.context.TobagoBundle
Direct Known Subclasses:
TobagoMessageBundle, TobagoResourceBundle

public class TobagoBundle
extends ResourceBundle

This class works like the Java resource bundle mechanism for a named resource bundle and adds the functionality of the tobago themes and also supports XML properties files. This class might be used in the faces-config.xml as an alternative to the tc:loadBundle tag.

Since:
1.5.0

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control
 
Field Summary
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
TobagoBundle(String bundleName)
           
 
Method Summary
 String getBundleName()
           
 Enumeration<String> getKeys()
           
protected  Object handleGetObject(String key)
           
 
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TobagoBundle

public TobagoBundle(String bundleName)
Method Detail

handleGetObject

protected Object handleGetObject(String key)
Specified by:
handleGetObject in class ResourceBundle

getKeys

public Enumeration<String> getKeys()
Specified by:
getKeys in class ResourceBundle

getBundleName

public String getBundleName()


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.