org.apache.xml.utils.res

Class 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.

Method Summary

String
getMessageKey(int errorCode)
Get the error string associated with the error code
String
getWarningKey(int errorCode)
Get the warning string associated with the error code

Method Details

getMessageKey

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


Copyright B) 2004 Apache XML Project. All Rights Reserved.