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 java.util.ListResourceBundle
This is an interface for error messages. This class is misnamed, and should be called XalanResourceBundle, or some such.
-
-
Constructor Summary
Constructors Constructor Description XResourceBundleBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.String
getMessageKey(int errorCode)
Get the error string associated with the error codeabstract java.lang.String
getWarningKey(int errorCode)
Get the warning string associated with the error code
-
-
-
Method Detail
-
getMessageKey
public abstract java.lang.String getMessageKey(int errorCode)
Get the error string associated with the error code- Parameters:
errorCode
- Error code- Returns:
- error string associated with the given error code
-
getWarningKey
public abstract java.lang.String getWarningKey(int errorCode)
Get the warning string associated with the error code- Parameters:
errorCode
- Error code- Returns:
- warning string associated with the given error code
-
-