APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xpath.internal.res

public Class XPATHMessages

extends XMLMessages
Class Inheritance
Known Direct Subclasses
com.sun.org.apache.xalan.internal.res.XSLMessages
Imports
com.sun.org.apache.xml.internal.res.XMLMessages, java.util.ResourceBundle, jdk.xml.internal.SecuritySupport

A utility class for issuing XPath error messages.

Field Summary

Modifier and TypeField and Description
private static final String
XPATH_ERROR_RESOURCES

The class name of the XPath error message string table.

private static ResourceBundle
XPATHBundle

The language specific resource object for XPath messages.

Inherited from com.sun.org.apache.xml.internal.res.XMLMessages:
BAD_CODEfLocaleFORMAT_FAILED

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static final String

Returns:

The formatted message string.
createXPATHMessage
(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.

private static final String

Returns:

The formatted message string.
createXPATHMsg
(ResourceBundle
The resource bundle to use.
fResourceBundle
,
String
The message key to use.
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 final String

Returns:

The formatted warning string.
createXPATHWarning
(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.xml.internal.res.XMLMessages:
createMsgcreateXMLMessagegetLocalesetLocale

Field Detail

XPATH_ERROR_RESOURCESback to summary
private static final String XPATH_ERROR_RESOURCES

The class name of the XPath error message string table.

XPATHBundleback to summary
private static ResourceBundle XPATHBundle

The language specific resource object for XPath messages.

Constructor Detail

XPATHMessagesback to summary
public XPATHMessages()

Method Detail

createXPATHMessageback to summary
public static final String createXPATHMessage(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.

createXPATHMsgback to summary
private static final String createXPATHMsg(ResourceBundle fResourceBundle, String msgKey, Object[] args)

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

Parameters
fResourceBundle:ResourceBundle

The resource bundle to use.

msgKey:String

The message key to use.

args:Object[]

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

Returns:String

The formatted message string.

createXPATHWarningback to summary
public static final String createXPATHWarning(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.