public class XPATHMessages extends XMLMessages
BAD_CODE, fLocale, FORMAT_FAILED
Constructor and Description |
---|
XPATHMessages() |
Modifier and Type | Method and Description |
---|---|
static String |
createXPATHMessage(String msgKey,
Object[] args)
Creates a message from the specified key and replacement
arguments, localized to the given locale.
|
static String |
createXPATHMsg(ListResourceBundle fResourceBundle,
String msgKey,
Object[] args)
Creates a message from the specified key and replacement
arguments, localized to the given locale.
|
static String |
createXPATHWarning(String msgKey,
Object[] args)
Creates a message from the specified key and replacement
arguments, localized to the given locale.
|
createMsg, createXMLMessage, getLocale, getResourceSuffix, loadResourceBundle, setLocale
public static final String createXPATHMessage(String msgKey, Object[] args)
msgKey
- The key for the message text.args
- The arguments to be used as replacement text
in the message created.public static final String createXPATHWarning(String msgKey, Object[] args)
msgKey
- The key for the message text.args
- The arguments to be used as replacement text
in the message created.public static final String createXPATHMsg(ListResourceBundle fResourceBundle, String msgKey, Object[] args)
fResourceBundle
- The resource bundle to use.msgKey
- The message key to use.args
- The arguments to be used as replacement text
in the message created.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.