| java.lang.Object org.apache.xerces.impl.xs.XSMessageFormatter
XSMessageFormatter | public class XSMessageFormatter implements MessageFormatter(Code) | | SchemaMessageProvider implements an XMLMessageProvider that
provides localizable error messages for the W3C XML Schema Language
author: Elena Litani, IBM version: $Id: XSMessageFormatter.java 446734 2006-09-15 20:51:23Z mrglavas $ |
Field Summary | |
final public static String | SCHEMA_DOMAIN The domain of messages concerning the XML Schema: Structures specification. |
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. |
SCHEMA_DOMAIN | final public static String SCHEMA_DOMAIN(Code) | | The domain of messages concerning the XML Schema: Structures 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. |
|
|