Package org.apache.xml.utils.res
Class XResourceBundleBase
java.lang.Object
java.util.ResourceBundle
java.util.ListResourceBundle
org.apache.xml.utils.res.XResourceBundleBase
public abstract class XResourceBundleBase extends ListResourceBundle
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 -
Field Summary
Fields inherited from class java.util.ResourceBundle
parent -
Constructor Summary
Constructors Constructor Description XResourceBundleBase() -
Method Summary
Modifier and Type Method Description abstract StringgetMessageKey(int errorCode)Get the error string associated with the error codeabstract StringgetWarningKey(int errorCode)Get the warning string associated with the error codeMethods inherited from class java.util.ListResourceBundle
getContents, getKeys, handleGetObject, handleKeySetMethods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, keySet, setParent
-
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
-