|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.ResourceBundle
org.springframework.context.support.MessageSourceResourceBundle
Helper class that allows for accessing a MessageSource as a ResourceBundle. Used for example to expose a Spring MessageSource to JSTL web views.
MessageSource,
ResourceBundle,
JstlUtils.exposeLocalizationContext(javax.servlet.http.HttpServletRequest, org.springframework.context.MessageSource)| Field Summary |
| Fields inherited from class java.util.ResourceBundle |
parent |
| Constructor Summary | |
MessageSourceResourceBundle(MessageSource source,
java.util.Locale locale)
|
|
| Method Summary | |
java.util.Enumeration |
getKeys()
This implementation returns null, as a MessageSource does not allow for enumerating the defined message codes. |
protected java.lang.Object |
handleGetObject(java.lang.String code)
This implementation resolves the code in the MessageSource. |
| Methods inherited from class java.util.ResourceBundle |
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MessageSourceResourceBundle(MessageSource source,
java.util.Locale locale)
| Method Detail |
protected java.lang.Object handleGetObject(java.lang.String code)
public java.util.Enumeration getKeys()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||