|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.res.XMLMessages
org.apache.xpath.res.XPATHMessages
public class XPATHMessages
A utility class for issuing XPath error messages.
| Field Summary | |
|---|---|
private static java.lang.String |
XPATH_ERROR_RESOURCES
The class name of the XPath error message string table. |
private static java.util.ListResourceBundle |
XPATHBundle
The language specific resource object for XPath messages. |
| Fields inherited from class org.apache.xml.res.XMLMessages |
|---|
BAD_CODE, fLocale, FORMAT_FAILED |
| Constructor Summary | |
|---|---|
XPATHMessages()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
createXPATHMessage(java.lang.String msgKey,
java.lang.Object[] args)
Creates a message from the specified key and replacement arguments, localized to the given locale. |
static java.lang.String |
createXPATHMsg(java.util.ListResourceBundle fResourceBundle,
java.lang.String msgKey,
java.lang.Object[] args)
Creates a message from the specified key and replacement arguments, localized to the given locale. |
static java.lang.String |
createXPATHWarning(java.lang.String msgKey,
java.lang.Object[] args)
Creates a message from the specified key and replacement arguments, localized to the given locale. |
| Methods inherited from class org.apache.xml.res.XMLMessages |
|---|
createMsg, createXMLMessage, getLocale, getResourceSuffix, loadResourceBundle, setLocale |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static java.util.ListResourceBundle XPATHBundle
private static final java.lang.String XPATH_ERROR_RESOURCES
| Constructor Detail |
|---|
public XPATHMessages()
| Method Detail |
|---|
public static final java.lang.String createXPATHMessage(java.lang.String msgKey,
java.lang.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 java.lang.String createXPATHWarning(java.lang.String msgKey,
java.lang.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 java.lang.String createXPATHMsg(java.util.ListResourceBundle fResourceBundle,
java.lang.String msgKey,
java.lang.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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||