Package org.nuxeo.ecm.webengine.model
Class Messages
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.Messages
-
public class Messages extends Object
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
BUILT_IN_DEFAULT_LANG
protected MessagesBundle
defaultMessages
protected Map<String,MessagesBundle>
messages
protected Messages
parent
protected MessagesProvider
provider
-
Constructor Summary
Constructors Constructor Description Messages(Messages parent, MessagesProvider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagesBundle
getMessagesBundle()
MessagesBundle
getMessagesBundle(String language)
Object
getObject(String key)
Object
getObject(String key, String language)
String
getString(String key)
String
getString(String key, String language)
String[]
getStringArray(String key)
String[]
getStringArray(String key, String language)
-
-
-
Field Detail
-
parent
protected final Messages parent
-
provider
protected final MessagesProvider provider
-
messages
protected final Map<String,MessagesBundle> messages
-
defaultMessages
protected MessagesBundle defaultMessages
-
BUILT_IN_DEFAULT_LANG
protected static final String BUILT_IN_DEFAULT_LANG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Messages
public Messages(Messages parent, MessagesProvider provider)
-
-
Method Detail
-
getMessagesBundle
public MessagesBundle getMessagesBundle()
-
getMessagesBundle
public MessagesBundle getMessagesBundle(String language)
-
-