Package | Description |
---|---|
info.magnolia.cms.i18n | |
info.magnolia.context | |
info.magnolia.freemarker |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMessagesImpl
Provides localized strings.
|
class |
DefaultMessagesImpl
Loads the message from properties files accessed as classpath resources.
|
class |
EmptyMessages
A null-pattern implementation of the messages interface.
|
class |
MessagesChain
Chains messages.
|
Modifier and Type | Method and Description |
---|---|
static Messages |
MessagesUtil.chain(Messages msgs1,
Messages msgs2)
Deprecated.
|
static Messages |
MessagesUtil.chain(Messages msgs1,
String basename)
Deprecated.
|
static Messages |
MessagesUtil.chain(String[] basenames)
Deprecated.
|
static Messages |
MessagesUtil.chain(String basename,
Messages msgs2)
Deprecated.
|
static Messages |
MessagesUtil.chainWithDefault(String basename)
Deprecated.
|
static Messages |
TemplateMessagesUtil.getMessages()
Deprecated.
Get the messages for the templates.
|
static Messages |
MessagesManager.getMessages()
Deprecated.
|
static Messages |
MessagesManager.getMessages(Locale locale)
Deprecated.
|
static Messages |
MessagesManager.getMessages(String basename)
Deprecated.
|
static Messages |
MessagesManager.getMessages(String basename,
Locale locale)
Deprecated.
|
protected abstract Messages |
MessagesManager.getMessagesInternal(String basename,
Locale locale)
Deprecated.
|
Messages |
DefaultMessagesManager.getMessagesInternal(String basename,
Locale locale) |
protected Messages |
DefaultMessagesManager.newMessages(DefaultMessagesManager.MessagesID messagesID)
Initializes a new Messages instances for the given MessagesID.
|
Modifier and Type | Method and Description |
---|---|
MessagesChain |
MessagesChain.chain(Messages messages)
Append messages to the chain.
|
static Messages |
MessagesUtil.chain(Messages msgs1,
Messages msgs2)
Deprecated.
|
static Messages |
MessagesUtil.chain(Messages msgs1,
String basename)
Deprecated.
|
static Messages |
MessagesUtil.chain(String basename,
Messages msgs2)
Deprecated.
|
static void |
MessagesUtil.generateJavaScript(Writer out,
Messages messages)
Deprecated.
Adds Variables to a JS which can be used with the getMessage(key) method.
|
Constructor and Description |
---|
MessagesChain(Messages head)
Create a chain passing the wrapped head of the chain.
|
Modifier and Type | Method and Description |
---|---|
static Messages |
MgnlContext.getMessages() |
Messages |
HTMLEscapingWebContextWrapper.getMessages() |
Messages |
Context.getMessages()
Get the default messages.
|
Messages |
AbstractContext.getMessages()
TODO: This duplicates methods from MessagesManager : remove either.
|
static Messages |
MgnlContext.getMessages(String basename) |
Messages |
HTMLEscapingWebContextWrapper.getMessages(String basename) |
Messages |
Context.getMessages(String basename)
Get the messages of the named bundle.
|
Messages |
AbstractContext.getMessages(String basename)
TODO: This duplicates methods from MessagesManager : remove either.
|
Modifier and Type | Method and Description |
---|---|
protected String |
MessagesWrapper.get(String key,
List args,
Messages messages)
Deprecated.
since 5.4.4. Use
MessagesWrapper.get(String, java.util.List) instead. |
protected String |
MessagesWrapper.get(String key,
Messages messages)
Deprecated.
since 5.4.4. Use
MessagesWrapper.get(String) instead. |
protected String |
MessagesWrapper.getWithDefault(String key,
List args,
String defaultMsg,
Messages messages)
Deprecated.
since 5.4.4. Use
MessagesWrapper.get(String, java.util.List) instead. |
protected String |
MessagesWrapper.getWithDefault(String key,
String defaultMsg,
Messages messages)
Deprecated.
since 5.4.4. Use
MessagesWrapper.get(String, java.util.List) instead. |
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.