|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Messages | |
---|---|
info.magnolia.cms.i18n | |
info.magnolia.context | |
info.magnolia.freemarker |
Uses of Messages in info.magnolia.cms.i18n |
---|
Classes in info.magnolia.cms.i18n that implement Messages | |
---|---|
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. |
Methods in info.magnolia.cms.i18n that return Messages | |
---|---|
static Messages |
MessagesUtil.chain(Messages msgs1,
Messages msgs2)
|
static Messages |
MessagesUtil.chain(Messages msgs1,
String basename)
|
static Messages |
MessagesUtil.chain(String[] basenames)
|
static Messages |
MessagesUtil.chain(String basename,
Messages msgs2)
|
static Messages |
MessagesUtil.chainWithDefault(String basename)
|
static Messages |
TemplateMessagesUtil.getMessages()
Deprecated. Get the messages for the templates. |
static Messages |
MessagesManager.getMessages()
|
static Messages |
MessagesManager.getMessages(Locale locale)
|
static Messages |
MessagesManager.getMessages(String basename)
|
static Messages |
MessagesManager.getMessages(String basename,
Locale locale)
|
protected abstract Messages |
MessagesManager.getMessagesInternal(String basename,
Locale locale)
|
Messages |
DefaultMessagesManager.getMessagesInternal(String basename,
Locale locale)
|
protected Messages |
DefaultMessagesManager.newMessages(DefaultMessagesManager.MessagesID messagesID)
Initializes a new Messages instances for the given MessagesID. |
Methods in info.magnolia.cms.i18n with parameters of type Messages | |
---|---|
MessagesChain |
MessagesChain.chain(Messages messages)
Append messages to the chain. |
static Messages |
MessagesUtil.chain(Messages msgs1,
Messages msgs2)
|
static Messages |
MessagesUtil.chain(Messages msgs1,
String basename)
|
static Messages |
MessagesUtil.chain(String basename,
Messages msgs2)
|
static void |
MessagesUtil.generateJavaScript(Writer out,
Messages messages)
Adds Variables to a JS which can be used with the getMessage(key) method. |
Constructors in info.magnolia.cms.i18n with parameters of type Messages | |
---|---|
MessagesChain(Messages head)
Create a chain passing the wrapped head of the chain. |
Uses of Messages in info.magnolia.context |
---|
Methods in info.magnolia.context that return Messages | |
---|---|
static Messages |
MgnlContext.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 |
Context.getMessages(String basename)
Get the messages of the named bundle. |
Messages |
AbstractContext.getMessages(String basename)
TODO: This duplicates methods from MessagesManager : remove either. |
Uses of Messages in info.magnolia.freemarker |
---|
Methods in info.magnolia.freemarker with parameters of type Messages | |
---|---|
protected String |
MessagesWrapper.get(String key,
List args,
Messages messages)
|
protected String |
MessagesWrapper.get(String key,
Messages messages)
|
protected String |
MessagesWrapper.getWithDefault(String key,
List args,
String defaultMsg,
Messages messages)
|
protected String |
MessagesWrapper.getWithDefault(String key,
String defaultMsg,
Messages messages)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |