Top Description Fields Constructors Methods
com.sun.org.apache.xalan.internal.res

public Class XSLMessages

extends XPATHMessages
Class Inheritance
Imports
com.sun.org.apache.xpath.internal.res.XPATHMessages, java.util.ResourceBundle, jdk.xml.internal.SecuritySupport

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

Field Summary

Modifier and TypeField and Description
private static final String
XSLT_ERROR_RESOURCES

The class name of the Xalan error message string table.

private static ResourceBundle
XSLTBundle

The language specific resource object for Xalan messages.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String

Returns:

The formatted message string.
createMessage
(String
The key for the message text.
msgKey
,
Object[]
The arguments to be used as replacement text in the message created.
args
)

Creates a message from the specified key and replacement arguments, localized to the given locale.

public static String

Returns:

The formatted warning string.
createWarning
(String
The key for the message text.
msgKey
,
Object[]
The arguments to be used as replacement text in the message created.
args
)

Creates a message from the specified key and replacement arguments, localized to the given locale.

Inherited from com.sun.org.apache.xpath.internal.res.XPATHMessages:
createXPATHMessagecreateXPATHWarning

Field Detail

XSLT_ERROR_RESOURCESback to summary
private static final String XSLT_ERROR_RESOURCES

The class name of the Xalan error message string table.

XSLTBundleback to summary
private static ResourceBundle XSLTBundle

The language specific resource object for Xalan messages.

Constructor Detail

XSLMessagesback to summary
public XSLMessages()

Method Detail

createMessageback to summary
public static String createMessage(String msgKey, Object[] args)

Creates a message from the specified key and replacement arguments, localized to the given locale.

Parameters
msgKey:String

The key for the message text.

args:Object[]

The arguments to be used as replacement text in the message created.

Returns:String

The formatted message string.

createWarningback to summary
public static String createWarning(String msgKey, Object[] args)

Creates a message from the specified key and replacement arguments, localized to the given locale.

Parameters
msgKey:String

The key for the message text.

args:Object[]

The arguments to be used as replacement text in the message created.

Returns:String

The formatted warning string.