|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.soa.parlayx21.Messages
public class Messages
The Parlay X messages retrieval class and message substitution processing for ServiceError.
Constructor Summary | |
---|---|
Messages()
|
Method Summary | |
---|---|
static java.lang.String |
formatUsingText(java.lang.String[] variables,
java.lang.String messageId,
java.lang.String text)
Format the message string by doing substitutions. |
static java.lang.String |
getMessageFromBundle(java.lang.String msgId,
java.util.Locale loc)
Get a message from the com.ibm.soa.parlayx21.Messages bundle. |
static java.lang.String |
getSubstitutedMessage(PolicyException se,
java.util.Locale locale)
Get the substituted message from the exception. |
static java.lang.String |
getSubstitutedMessage(ServiceError se,
java.util.Locale locale)
Get the substituted message from the exception. |
static java.lang.String |
getSubstitutedMessage(ServiceException se,
java.util.Locale locale)
Get the substituted message from the exception. |
static java.lang.String |
getSubstitutedMessage(java.lang.String text,
java.lang.String[] variables,
java.lang.String messageId,
java.util.Locale locale)
Get the substituted message from the exception. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Messages()
Method Detail |
---|
public static java.lang.String getSubstitutedMessage(ServiceException se, java.util.Locale locale)
se
- the exceptionlocale
- the locale, null for default.
public static java.lang.String getSubstitutedMessage(PolicyException se, java.util.Locale locale)
se
- the exceptionlocale
- the locale, null for default.
public static java.lang.String getSubstitutedMessage(ServiceError se, java.util.Locale locale)
se
- the errorlocale
- the locale, null for default.
public static java.lang.String getSubstitutedMessage(java.lang.String text, java.lang.String[] variables, java.lang.String messageId, java.util.Locale locale)
text
- the textvariables
- the variablesmessageId
- the message idlocale
- the locale, null for default.
public static java.lang.String getMessageFromBundle(java.lang.String msgId, java.util.Locale loc)
msgId
- the message IDloc
- the locale
public static java.lang.String formatUsingText(java.lang.String[] variables, java.lang.String messageId, java.lang.String text)
variables
- the substitution variablesmessageId
- the message IDtext
- the message text
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |