org.apache.xalan.res

Class XSLMessages


public class XSLMessages
extends XPATHMessages

Sets things up for issuing error messages. This class is misnamed, and should be called XalanMessages, or some such.

Method Summary

static String
createMessage(String msgKey, args[] )
Creates a message from the specified key and replacement arguments, localized to the given locale.
static String
createWarning(String msgKey, args[] )
Creates a message from the specified key and replacement arguments, localized to the given locale.

Methods inherited from class org.apache.xpath.res.XPATHMessages

createXPATHMessage, createXPATHMsg, createXPATHWarning

Methods inherited from class org.apache.xml.res.XMLMessages

createMsg, createXMLMessage, getLocale, loadResourceBundle, setLocale

Method Details

createMessage

public static final String createMessage(String msgKey,
                                         args[] )
Creates a message from the specified key and replacement arguments, localized to the given locale.

Parameters:

Returns:
The formatted message string.


createWarning

public static final String createWarning(String msgKey,
                                         args[] )
Creates a message from the specified key and replacement arguments, localized to the given locale.

Parameters:
msgKey - The key for the message text.

Returns:
The formatted warning string.


Copyright B) 2004 Apache XML Project. All Rights Reserved.