public abstract class AbstractNlsMessageFactory extends AbstractLoggableComponent implements NlsMessageFactory
NlsMessageFactory interface.| Constructor and Description |
|---|
AbstractNlsMessageFactory()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
NlsMessage |
create(NlsTemplate template)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(NlsTemplate template,
Object... messageArguments)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(NlsTemplate template,
String key1,
Object argument1)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(NlsTemplate template,
String key1,
Object argument1,
String key2,
Object argument2)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(NlsTemplate template,
String key1,
Object argument1,
String key2,
Object argument2,
String key3,
Object argument3)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(NlsTemplate template,
String key1,
Object argument1,
String key2,
Object argument2,
String key3,
Object argument3,
String key4,
Object argument4)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(String internationalizedMessage)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(String internationalizedMessage,
Object... messageArguments)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(String internationalizedMessage,
String key1,
Object argument1)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(String internationalizedMessage,
String key1,
Object argument1,
String key2,
Object argument2)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(String internationalizedMessage,
String key1,
Object argument1,
String key2,
Object argument2,
String key3,
Object argument3)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(String internationalizedMessage,
String key1,
Object argument1,
String key2,
Object argument2,
String key3,
Object argument3,
String key4,
Object argument4)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
createDirect(String bundleName,
String key)
This method creates a new instance of
NlsMessage from the given arguments. |
createLogger, doInitialize, getLoggerdoInitialized, getInitializationState, initializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, create, createDirectpublic NlsMessage create(String internationalizedMessage, Object... messageArguments)
NlsMessageFactoryNlsMessage from the given arguments.create in interface NlsMessageFactoryinternationalizedMessage - is the internationalized
message.messageArguments - are the arguments filled into the message
after nationalization.NlsMessage instance.public NlsMessage create(NlsTemplate template, Object... messageArguments)
NlsMessageFactoryNlsMessage from the given arguments.create in interface NlsMessageFactorytemplate - is the NlsTemplate for the raw
message.messageArguments - are the arguments filled into the message
after nationalization.NlsMessage instance.public NlsMessage create(NlsTemplate template, String key1, Object argument1, String key2, Object argument2, String key3, Object argument3, String key4, Object argument4)
NlsMessageFactoryNlsMessage from the given arguments.create in interface NlsMessageFactorytemplate - is the NlsTemplate for the raw
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.key2 - is the key of the second argument.argument2 - is the value of the second argument.key3 - is the key of the third argument.argument3 - is the value of the third argument.key4 - is the key of the fourth argument.argument4 - is the value of the fourth argument.NlsMessage instance.public NlsMessage create(NlsTemplate template, String key1, Object argument1, String key2, Object argument2, String key3, Object argument3)
NlsMessageFactoryNlsMessage from the given arguments.create in interface NlsMessageFactorytemplate - is the NlsTemplate for the raw
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.key2 - is the key of the second argument.argument2 - is the value of the second argument.key3 - is the key of the third argument.argument3 - is the value of the third argument.NlsMessage instance.public NlsMessage create(NlsTemplate template, String key1, Object argument1, String key2, Object argument2)
NlsMessageFactoryNlsMessage from the given arguments.create in interface NlsMessageFactorytemplate - is the NlsTemplate for the raw
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.key2 - is the key of the second argument.argument2 - is the value of the second argument.NlsMessage instance.public NlsMessage create(NlsTemplate template, String key1, Object argument1)
NlsMessageFactoryNlsMessage from the given arguments.create in interface NlsMessageFactorytemplate - is the NlsTemplate for the raw
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.NlsMessage instance.public NlsMessage create(String internationalizedMessage, String key1, Object argument1, String key2, Object argument2, String key3, Object argument3, String key4, Object argument4)
NlsMessageFactoryNlsMessage from the given arguments.create in interface NlsMessageFactoryinternationalizedMessage - is the internationalized
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.key2 - is the key of the second argument.argument2 - is the value of the second argument.key3 - is the key of the third argument.argument3 - is the value of the third argument.key4 - is the key of the fourth argument.argument4 - is the value of the fourth argument.NlsMessage instance.public NlsMessage create(String internationalizedMessage, String key1, Object argument1, String key2, Object argument2, String key3, Object argument3)
NlsMessageFactoryNlsMessage from the given arguments.create in interface NlsMessageFactoryinternationalizedMessage - is the internationalized
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.key2 - is the key of the second argument.argument2 - is the value of the second argument.key3 - is the key of the third argument.argument3 - is the value of the third argument.NlsMessage instance.public NlsMessage create(String internationalizedMessage, String key1, Object argument1, String key2, Object argument2)
NlsMessageFactoryNlsMessage from the given arguments.create in interface NlsMessageFactoryinternationalizedMessage - is the internationalized
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.key2 - is the key of the second argument.argument2 - is the value of the second argument.NlsMessage instance.public NlsMessage create(String internationalizedMessage, String key1, Object argument1)
NlsMessageFactoryNlsMessage from the given arguments.create in interface NlsMessageFactoryinternationalizedMessage - is the internationalized
message.key1 - is the key of the first argument.argument1 - is the value of the first argument.NlsMessage instance.public NlsMessage create(NlsTemplate template)
NlsMessageFactoryNlsMessage from the given arguments.create in interface NlsMessageFactorytemplate - is the NlsTemplate for the raw
message.NlsMessage instance.NlsMessageFactory.create(NlsTemplate, Map)public NlsMessage create(String internationalizedMessage)
NlsMessageFactoryNlsMessage from the given arguments.create in interface NlsMessageFactoryinternationalizedMessage - is the internationalized
message.NlsMessage instance.public NlsMessage createDirect(String bundleName, String key)
NlsMessageFactoryNlsMessage from the given arguments. NlsMessage. It should only be used for specific cases
where both NlsBundle and AbstractResourceBundle are NOT
suitable. Please read net.sf.mmm.util.nls.api as motivation and introduction.createDirect in interface NlsMessageFactorybundleName - is the base-name
of the bundle containing the message.key - is the key for the lookup. Will be used as
fallback for the internationalized message.NlsMessage instance.NlsMessageFactory.createDirect(String, String, Map)Copyright © 2001–2016 mmm-Team. All rights reserved.