Package org.apache.xml.utils.res
Class XResourceBundleBase
java.lang.Object
java.util.ResourceBundle
java.util.ListResourceBundle
org.apache.xml.utils.res.XResourceBundleBase
This is an interface for error messages. This class is misnamed,
and should be called XalanResourceBundle, or some such.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
getMessageKey
(int errorCode) Get the error string associated with the error codeabstract String
getWarningKey
(int errorCode) Get the warning string associated with the error codeMethods inherited from class java.util.ListResourceBundle
getKeys, handleGetObject
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, keySet
-
Constructor Details
-
XResourceBundleBase
public XResourceBundleBase()
-
-
Method Details
-
getMessageKey
Get the error string associated with the error code- Parameters:
errorCode
- Error code- Returns:
- error string associated with the given error code
-
getWarningKey
Get the warning string associated with the error code- Parameters:
errorCode
- Error code- Returns:
- warning string associated with the given error code
-