org.apache.xml.utils.res
Class XResourceBundleBase

java.lang.Object
  extended byjava.util.ResourceBundle
      extended byjava.util.ListResourceBundle
          extended byorg.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 inherited from class java.util.ResourceBundle
 
Field Summary
 
Fields inherited from class java.util.ListResourceBundle
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
XResourceBundleBase()
           
 
Method Summary
abstract  String getMessageKey(int errorCode)
          Get the error string associated with the error code
abstract  String getWarningKey(int errorCode)
          Get the warning string associated with the error code
 
Methods inherited from class java.util.ListResourceBundle
getContents, getKeys, handleGetObject
 
Methods inherited from class java.util.ResourceBundle
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XResourceBundleBase

public XResourceBundleBase()
Method Detail

getMessageKey

public abstract 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 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