com.sun.org.apache.xml.internal.serializer.utils.SerializerMessages_ca Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaxp-ri Show documentation
Show all versions of jaxp-ri Show documentation
Java API for XML Processing Reference Implementation
The newest version!
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution License("CDDL") (collectively, the "License"). You
* may not use this file except in compliance with the License. You can
* obtain a copy of the License at
* https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
* or packager/legal/LICENSE.txt. See the License for the specific
* language governing permissions and limitations under the License.
*
* When distributing the software, include this License Header Notice in each
* file and include the License file at packager/legal/LICENSE.txt.
*
* GPL Classpath Exception:
* Oracle designates this particular file as subject to the "Classpath"
* exception as provided by Oracle in the GPL Version 2 section of the License
* file that accompanied this code.
*
* Modifications:
* If applicable, add the following below the License Header, with the fields
* enclosed by brackets [] replaced by your own identifying information:
* "Portions Copyright [year] [name of copyright owner]"
*
* Contributor(s):
* If you wish your version of this file to be governed by only the CDDL or
* only the GPL Version 2, indicate your decision by adding "[Contributor]
* elects to include this software in this distribution under the [CDDL or GPL
* Version 2] license." If you don't indicate a single choice of license, a
* recipient has the option to distribute your version of this file under
* either the CDDL, the GPL Version 2 or to extend the choice of license to
* its licensees as provided above. However, if you add GPL Version 2 code
* and therefore, elected the GPL Version 2 license, then the option applies
* only if the new code is made subject to such option by the copyright
* holder.
*
*
* This file incorporates work covered by the following copyright and
* permission notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* $Id: SerializerMessages_ca.java,v 1.7 2010-11-01 04:34:50 joehw Exp $
*/
package com.sun.org.apache.xml.internal.serializer.utils;
import java.util.ListResourceBundle;
public class SerializerMessages_ca extends ListResourceBundle {
public Object[][] getContents() {
Object[][] contents = new Object[][] {
{ MsgKey.BAD_MSGKEY,
"The message key ''{0}'' is not in the message class ''{1}''"},
{ MsgKey.BAD_MSGFORMAT,
"The format of message ''{0}'' in message class ''{1}'' failed."},
{ MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
"The serializer class ''{0}'' does not implement org.xml.sax.ContentHandler."},
{ MsgKey.ER_RESOURCE_COULD_NOT_FIND,
"The resource [ {0} ] could not be found.\n {1}"},
{ MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
"The resource [ {0} ] could not load: {1} \n {2} \n {3}"},
{ MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
"Buffer size <=0"},
{ MsgKey.ER_INVALID_UTF16_SURROGATE,
"Invalid UTF-16 surrogate detected: {0} ?"},
{ MsgKey.ER_OIERROR,
"IO error"},
{ MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
"Cannot add attribute {0} after child nodes or before an element is produced. Attribute will be ignored."},
{ MsgKey.ER_NAMESPACE_PREFIX,
"Namespace for prefix ''{0}'' has not been declared."},
{ MsgKey.ER_STRAY_ATTRIBUTE,
"Attribute ''{0}'' outside of element."},
{ MsgKey.ER_STRAY_NAMESPACE,
"Namespace declaration ''{0}''=''{1}'' outside of element."},
{ MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
"Could not load ''{0}'' (check CLASSPATH), now using just the defaults"},
{ MsgKey.ER_ILLEGAL_CHARACTER,
"Attempt to output character of integral value {0} that is not represented in specified output encoding of {1}."},
{ MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
"Could not load the propery file ''{0}'' for output method ''{1}'' (check CLASSPATH)"},
{ MsgKey.ER_INVALID_PORT,
"Invalid port number"},
{ MsgKey.ER_PORT_WHEN_HOST_NULL,
"Port cannot be set when host is null"},
{ MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
"Host is not a well formed address"},
{ MsgKey.ER_SCHEME_NOT_CONFORMANT,
"The scheme is not conformant."},
{ MsgKey.ER_SCHEME_FROM_NULL_STRING,
"Cannot set scheme from null string"},
{ MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"Path contains invalid escape sequence"},
{ MsgKey.ER_PATH_INVALID_CHAR,
"Path contains invalid character: {0}"},
{ MsgKey.ER_FRAG_INVALID_CHAR,
"Fragment contains invalid character"},
{ MsgKey.ER_FRAG_WHEN_PATH_NULL,
"Fragment cannot be set when path is null"},
{ MsgKey.ER_FRAG_FOR_GENERIC_URI,
"Fragment can only be set for a generic URI"},
{ MsgKey.ER_NO_SCHEME_IN_URI,
"No scheme found in URI"},
{ MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
"Cannot initialize URI with empty parameters"},
{ MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
"Fragment cannot be specified in both the path and fragment"},
{ MsgKey.ER_NO_QUERY_STRING_IN_PATH,
"Query string cannot be specified in path and query string"},
{ MsgKey.ER_NO_PORT_IF_NO_HOST,
"Port may not be specified if host is not specified"},
{ MsgKey.ER_NO_USERINFO_IF_NO_HOST,
"Userinfo may not be specified if host is not specified"},
{ MsgKey.ER_SCHEME_REQUIRED,
"Scheme is required!"}
};
return contents;
}
}