|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface describing how to provide localized error messages to the XMLErrorReporter
XMLErrorReporter
Method Summary | |
java.lang.String |
createMessage(java.util.Locale locale,
int majorCode,
int minorCode,
java.lang.Object[] args)
Creates a message from the specified key and replacement arguments, localized to the given locale. |
java.util.Locale |
getLocale()
Get the locale being used for error messages |
void |
setLocale(java.util.Locale locale)
Set the locale to be used for error messages |
Method Detail |
public void setLocale(java.util.Locale locale)
locale
- the new localepublic java.util.Locale getLocale()
public java.lang.String createMessage(java.util.Locale locale, int majorCode, int minorCode, java.lang.Object[] args)
locale
- The requested locale of the message to be
created.key
- The key for the message text.args
- The arguments to be used as replacement text
in the message created.
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |