286N/A * reserved comment block 286N/A * DO NOT REMOVE OR ALTER! 286N/A * Copyright 1999-2004 The Apache Software Foundation. 286N/A * Licensed under the Apache License, Version 2.0 (the "License"); 286N/A * you may not use this file except in compliance with the License. 286N/A * You may obtain a copy of the License at 286N/A * Unless required by applicable law or agreed to in writing, software 286N/A * distributed under the License is distributed on an "AS IS" BASIS, 286N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 286N/A * See the License for the specific language governing permissions and 286N/A * limitations under the License. 286N/A * XMLMessageFormatter provides error messages for the XML 1.0 Recommendation and for 286N/A * the Namespaces Recommendation 286N/A * The domain of messages concerning the XML 1.0 specification. 286N/A // private objects to cache the locale and resource bundle 286N/A // MessageFormatter methods 286N/A * Formats a message with the specified arguments using the given 286N/A * @param locale The locale of the message. 286N/A * @param key The message key. 286N/A * @param arguments The message replacement text arguments. The order 286N/A * of the arguments must match that of the placeholders 286N/A * in the actual message. 286N/A * @return Returns the formatted message. 286N/A * @throws MissingResourceException Thrown if the message with the 286N/A * specified key cannot be found. 286N/A // memorize the most-recent locale