| java.lang.Object org.apache.xerces.impl.msg.XMLMessageFormatter
XMLMessageFormatter | public class XMLMessageFormatter implements MessageFormatter(Code) | | XMLMessageFormatter provides error messages for the XML 1.0 Recommendation and for
the Namespaces Recommendation
author: Eric Ye, IBM version: $Id: XMLMessageFormatter.java 446717 2006-09-15 20:29:45Z mrglavas $ |
Method Summary | |
public String | formatMessage(Locale locale, String key, Object[] arguments) Formats a message with the specified arguments using the given
locale information.
Parameters: locale - The locale of the message. Parameters: key - The message key. Parameters: arguments - The message replacement text arguments. |
XML_DOMAIN | final public static String XML_DOMAIN(Code) | | The domain of messages concerning the XML 1.0 specification.
|
formatMessage | public String formatMessage(Locale locale, String key, Object[] arguments) throws MissingResourceException(Code) | | Formats a message with the specified arguments using the given
locale information.
Parameters: locale - The locale of the message. Parameters: key - The message key. Parameters: arguments - The message replacement text arguments. The orderof the arguments must match that of the placeholdersin the actual message. Returns the formatted message. throws: MissingResourceException - Thrown if the message with thespecified key cannot be found. |
|
|