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.

UNKNOWN: internal

Method Summary
static StringcreateMessage(String msgKey, Object[] args)
Creates a message from the specified key and replacement arguments, localized to the given locale.
static StringcreateWarning(String msgKey, Object[] args)
Creates a message from the specified key and replacement arguments, localized to the given locale.

Method Detail

createMessage

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

Parameters: msgKey The key for the message text. args The arguments to be used as replacement text in the message created.

Returns: The formatted message string.

createWarning

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

Parameters: msgKey The key for the message text. args The arguments to be used as replacement text in the message created.

Returns: The formatted warning string.

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