public final class ArgumentDescriptor extends AbstractMessagePayload
Localizable
arguments which were stored as
message-key (format {key}) usually such lazy arguments are e.g. arguments for messages which should be resolved
as soon as the message should be resolved
example:
message-descriptor: info
message-argument (instance of Localizable
: additional_info
as soon as we save the argument e.g. as string we lose the information if it is
Localizable
or if it is just a string-value
so we need the key-syntax here as well
info is e.g.:
info=hello: {0}
additional_info is e.g.:
additional_info=codi
if we store additional_info as string we have to store: {additional_info}
if we restore and resolve the final text the result should be: hello: codi
this interface is a marker payloadModifier and Type | Field and Description |
---|---|
static ArgumentDescriptor |
PAYLOAD |
public static final ArgumentDescriptor PAYLOAD
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.