|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface describing how to provide localized error messages to the XMLErrorReporter
XMLErrorReporter
Method Summary | |
String |
createMessage(Locale locale,
int majorCode,
int minorCode,
Object[] args)
Creates a message from the specified key and replacement arguments, localized to the given locale. |
Locale |
getLocale()
Get the locale being used for error messages |
void |
setLocale(Locale locale)
Set the locale to be used for error messages |
Method Detail |
public void setLocale(Locale locale)
locale
- the new localepublic Locale getLocale()
public String createMessage(Locale locale, int majorCode, int minorCode, Object[] args)
locale
- The requested locale of the message to be
created.args
- The arguments to be used as replacement text
in the message created.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |