Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.xerces.utils
Interface XMLMessageProvider  view XMLMessageProvider download XMLMessageProvider.java

All Known Implementing Classes:
ImplementationMessages, XMLMessages

public interface XMLMessageProvider

Interface describing how to provide localized error messages to the XMLErrorReporter


Method Summary
 java.lang.String createMessage(java.util.Locale locale, int majorCode, int minorCode, java.lang.Object[] args)
          Creates a message from the specified key and replacement arguments, localized to the given locale.
 java.util.Locale getLocale()
          Get the locale being used for error messages
 void setLocale(java.util.Locale locale)
          Set the locale to be used for error messages
 

Method Detail

setLocale

public void setLocale(java.util.Locale locale)
Set the locale to be used for error messages


getLocale

public java.util.Locale getLocale()
Get the locale being used for error messages


createMessage

public java.lang.String createMessage(java.util.Locale locale,
                                      int majorCode,
                                      int minorCode,
                                      java.lang.Object[] args)
Creates a message from the specified key and replacement arguments, localized to the given locale.