|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.mindmatters.faces.spring.context.support.ManagedBeanDefinitionParser.FacesHierarchicalMessageSource
JSF implementation of a
HierarchicalMessageSource
. Checks if
the given Locale
is supported. See "locale-config" tag in
the "faces-config" DTD.
ResourceBundleMessageSource
Constructor Summary | |
protected |
ManagedBeanDefinitionParser.FacesHierarchicalMessageSource()
Creates a faces message source. |
|
ManagedBeanDefinitionParser.FacesHierarchicalMessageSource(java.util.List baseNames,
java.lang.String defaultLocale,
java.util.List supportedLocales)
Creates a faces MessageSource with the given base-names, default locale and supported locales. |
Method Summary | |
java.lang.String |
getMessage(MessageSourceResolvable resolvable,
java.util.Locale locale)
|
java.lang.String |
getMessage(java.lang.String code,
java.lang.Object[] args,
java.util.Locale locale)
|
java.lang.String |
getMessage(java.lang.String code,
java.lang.Object[] args,
java.lang.String defaultMessage,
java.util.Locale locale)
|
MessageSource |
getParentMessageSource()
|
void |
setParentMessageSource(MessageSource parent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ManagedBeanDefinitionParser.FacesHierarchicalMessageSource()
public ManagedBeanDefinitionParser.FacesHierarchicalMessageSource(java.util.List baseNames, java.lang.String defaultLocale, java.util.List supportedLocales)
baseNames
- names of the base message resourcedefaultLocale
- name of the default localesupportedLocales
- locales which are supported by this implementationMethod Detail |
public void setParentMessageSource(MessageSource parent)
setParentMessageSource
in interface HierarchicalMessageSource
public MessageSource getParentMessageSource()
getParentMessageSource
in interface HierarchicalMessageSource
public java.lang.String getMessage(java.lang.String code, java.lang.Object[] args, java.lang.String defaultMessage, java.util.Locale locale)
getMessage
in interface MessageSource
public java.lang.String getMessage(java.lang.String code, java.lang.Object[] args, java.util.Locale locale)
getMessage
in interface MessageSource
public java.lang.String getMessage(MessageSourceResolvable resolvable, java.util.Locale locale)
getMessage
in interface MessageSource
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |