KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > org > apache > xml > internal > serializer > utils > SerializerMessages_ca


1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 /*
17  * $Id: SerializerMessages_ca.java,v 1.1.4.1 2005/09/08 11:03:11 suresh_emailid Exp $
18  */

19
20 package com.sun.org.apache.xml.internal.serializer.utils;
21
22 import java.util.ListResourceBundle JavaDoc;
23
24 public class SerializerMessages_ca extends ListResourceBundle JavaDoc {
25   public Object JavaDoc[][] getContents() {
26     Object JavaDoc[][] contents = new Object JavaDoc[][] {
27       { MsgKey.BAD_MSGKEY,
28         "The message key ''{0}'' is not in the message class ''{1}''"},
29
30       { MsgKey.BAD_MSGFORMAT,
31         "The format of message ''{0}'' in message class ''{1}'' failed."},
32
33       { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
34         "The serializer class ''{0}'' does not implement org.xml.sax.ContentHandler."},
35
36       { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
37         "The resource [ {0} ] could not be found.\n {1}"},
38
39       { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
40         "The resource [ {0} ] could not load: {1} \n {2} \n {3}"},
41
42       { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
43         "Buffer size <=0"},
44
45       { MsgKey.ER_INVALID_UTF16_SURROGATE,
46         "Invalid UTF-16 surrogate detected: {0} ?"},
47
48       { MsgKey.ER_OIERROR,
49         "IO error"},
50
51       { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
52         "Cannot add attribute {0} after child nodes or before an element is produced. Attribute will be ignored."},
53
54       { MsgKey.ER_NAMESPACE_PREFIX,
55         "Namespace for prefix ''{0}'' has not been declared."},
56
57       { MsgKey.ER_STRAY_ATTRIBUTE,
58         "Attribute ''{0}'' outside of element."},
59
60       { MsgKey.ER_STRAY_NAMESPACE,
61         "Namespace declaration ''{0}''=''{1}'' outside of element."},
62
63       { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
64         "Could not load ''{0}'' (check CLASSPATH), now using just the defaults"},
65
66       { MsgKey.ER_ILLEGAL_CHARACTER,
67         "Attempt to output character of integral value {0} that is not represented in specified output encoding of {1}."},
68
69       { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
70         "Could not load the propery file ''{0}'' for output method ''{1}'' (check CLASSPATH)"},
71
72       { MsgKey.ER_INVALID_PORT,
73         "Invalid port number"},
74
75       { MsgKey.ER_PORT_WHEN_HOST_NULL,
76         "Port cannot be set when host is null"},
77
78       { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
79         "Host is not a well formed address"},
80
81       { MsgKey.ER_SCHEME_NOT_CONFORMANT,
82         "The scheme is not conformant."},
83
84       { MsgKey.ER_SCHEME_FROM_NULL_STRING,
85         "Cannot set scheme from null string"},
86
87       { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
88         "Path contains invalid escape sequence"},
89
90       { MsgKey.ER_PATH_INVALID_CHAR,
91         "Path contains invalid character: {0}"},
92
93       { MsgKey.ER_FRAG_INVALID_CHAR,
94         "Fragment contains invalid character"},
95
96       { MsgKey.ER_FRAG_WHEN_PATH_NULL,
97         "Fragment cannot be set when path is null"},
98
99       { MsgKey.ER_FRAG_FOR_GENERIC_URI,
100         "Fragment can only be set for a generic URI"},
101
102       { MsgKey.ER_NO_SCHEME_IN_URI,
103         "No scheme found in URI"},
104
105       { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
106         "Cannot initialize URI with empty parameters"},
107
108       { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
109         "Fragment cannot be specified in both the path and fragment"},
110
111       { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
112         "Query string cannot be specified in path and query string"},
113
114       { MsgKey.ER_NO_PORT_IF_NO_HOST,
115         "Port may not be specified if host is not specified"},
116
117       { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
118         "Userinfo may not be specified if host is not specified"},
119
120       { MsgKey.ER_SCHEME_REQUIRED,
121         "Scheme is required!"}
122
123     };
124     return contents;
125   }
126 }
127
Popular Tags