KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencms > xml > Messages


1 /*
2  * File : $Source: /usr/local/cvs/opencms/src/org/opencms/xml/Messages.java,v $
3  * Date : $Date: 2006/03/27 14:52:20 $
4  * Version: $Revision: 1.12 $
5  *
6  * This library is part of OpenCms -
7  * the Open Source Content Mananagement System
8  *
9  * Copyright (c) 2005 Alkacon Software GmbH (http://www.alkacon.com)
10  *
11  * This library is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU Lesser General Public
13  * License as published by the Free Software Foundation; either
14  * version 2.1 of the License, or (at your option) any later version.
15  *
16  * This library is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  * Lesser General Public License for more details.
20  *
21  * For further information about Alkacon Software GmbH, please see the
22  * company website: http://www.alkacon.com
23  *
24  * For further information about OpenCms, please see the
25  * project website: http://www.opencms.org
26  *
27  * You should have received a copy of the GNU Lesser General Public
28  * License along with this library; if not, write to the Free Software
29  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30  */

31
32 package org.opencms.xml;
33
34 import org.opencms.i18n.A_CmsMessageBundle;
35 import org.opencms.i18n.I_CmsMessageBundle;
36
37 /**
38  * Convenience class to access the localized messages of this OpenCms package.<p>
39  *
40  * @author Alexander Kandzior
41  * @author Jan Baudisch
42  *
43  * @version $Revision: 1.12 $
44  *
45  * @since 6.0.0
46  */

47 public final class Messages extends A_CmsMessageBundle {
48
49     /** Message constant for key in the resource bundle. */
50     public static final String JavaDoc ERR_CD_BAD_INCLUDE_1 = "ERR_CD_BAD_INCLUDE_1";
51
52     /** Message constant for key in the resource bundle. */
53     public static final String JavaDoc ERR_CD_COMPLEX_TYPE_COUNT_1 = "ERR_CD_COMPLEX_TYPE_COUNT_1";
54
55     /** Message constant for key in the resource bundle. */
56     public static final String JavaDoc ERR_CD_ELEMENT_NAME_3 = "ERR_CD_ELEMENT_NAME_3";
57
58     /** Message constant for key in the resource bundle. */
59     public static final String JavaDoc ERR_CD_FIRST_INCLUDE_2 = "ERR_CD_FIRST_INCLUDE_2";
60
61     /** Message constant for key in the resource bundle. */
62     public static final String JavaDoc ERR_CD_NO_SCHEMA_NODE_0 = "ERR_CD_NO_SCHEMA_NODE_0";
63
64     /** Message constant for key in the resource bundle. */
65     public static final String JavaDoc ERR_CD_ONE_INCLUDE_REQUIRED_0 = "ERR_CD_ONE_INCLUDE_REQUIRED_0";
66
67     /** Message constant for key in the resource bundle. */
68     public static final String JavaDoc ERR_CD_ROOT_ELEMENT_COUNT_1 = "ERR_CD_ROOT_ELEMENT_COUNT_1";
69
70     /** Message constant for key in the resource bundle. */
71     public static final String JavaDoc ERR_EL_ATTRIBUTE_TOOFEW_3 = "ERR_EL_ATTRIBUTE_TOOFEW_3";
72
73     /** Message constant for key in the resource bundle. */
74     public static final String JavaDoc ERR_EL_ATTRIBUTE_TOOMANY_3 = "ERR_EL_ATTRIBUTE_TOOMANY_3";
75
76     /** Message constant for key in the resource bundle. */
77     public static final String JavaDoc ERR_EL_BAD_ATTRIBUTE_VALUE_4 = "ERR_EL_BAD_ATTRIBUTE_VALUE_4";
78
79     /** Message constant for key in the resource bundle. */
80     public static final String JavaDoc ERR_EL_BAD_ATTRIBUTE_WS_3 = "ERR_EL_BAD_ATTRIBUTE_WS_3";
81
82     /** Message constant for key in the resource bundle. */
83     public static final String JavaDoc ERR_EL_INVALID_ATTRIBUTE_2 = "ERR_EL_INVALID_ATTRIBUTE_2";
84
85     /** Message constant for key in the resource bundle. */
86     public static final String JavaDoc ERR_EL_MISSING_ATTRIBUTE_2 = "ERR_EL_MISSING_ATTRIBUTE_2";
87
88     /** Message constant for key in the resource bundle. */
89     public static final String JavaDoc ERR_INIT_TYPE_MANAGER_0 = "ERR_INIT_TYPE_MANAGER_0";
90
91     /** Message constant for key in the resource bundle. */
92     public static final String JavaDoc ERR_INVALID_CD_SCHEMA_STRUCTURE_0 = "ERR_INVALID_CD_SCHEMA_STRUCTURE_0";
93
94     /** Message constant for key in the resource bundle. */
95     public static final String JavaDoc ERR_INVALID_CONTENT_HANDLER_1 = "ERR_INVALID_CONTENT_HANDLER_1";
96
97     /** Message constant for key in the resource bundle. */
98     public static final String JavaDoc ERR_INVALID_XCC_TYPE_REGISTERED_0 = "ERR_INVALID_XCC_TYPE_REGISTERED_0";
99
100     /** Message constant for key in the resource bundle. */
101     public static final String JavaDoc ERR_LOCALE_ALREADY_EXISTS_1 = "ERR_LOCALE_ALREADY_EXISTS_1";
102
103     /** Message constant for key in the resource bundle. */
104     public static final String JavaDoc ERR_LOCALE_NOT_AVAILABLE_1 = "ERR_LOCALE_NOT_AVAILABLE_1";
105
106     /** Message constant for key in the resource bundle. */
107     public static final String JavaDoc ERR_MARSHALLING_XML_DOC_0 = "ERR_MARSHALLING_XML_DOC_0";
108
109     /** Message constant for key in the resource bundle. */
110     public static final String JavaDoc ERR_MARSHALLING_XML_DOC_TO_STRING_0 = "ERR_MARSHALLING_XML_DOC_TO_STRING_0";
111
112     /** Message constant for key in the resource bundle. */
113     public static final String JavaDoc ERR_NULL_LOCALE_0 = "ERR_NULL_LOCALE_0";
114
115     /** Message constant for key in the resource bundle. */
116     public static final String JavaDoc ERR_TS_SUBELEMENT_COUNT_2 = "ERR_TS_SUBELEMENT_COUNT_2";
117
118     /** Message constant for key in the resource bundle. */
119     public static final String JavaDoc ERR_TS_SUBELEMENT_TOOFEW_3 = "ERR_TS_SUBELEMENT_TOOFEW_3";
120
121     /** Message constant for key in the resource bundle. */
122     public static final String JavaDoc ERR_UNKNOWN_SCHEMA_1 = "ERR_UNKNOWN_SCHEMA_1";
123
124     /** Message constant for key in the resource bundle. */
125     public static final String JavaDoc ERR_UNMARSHALLING_XML_DOC_0 = "ERR_UNMARSHALLING_XML_DOC_0";
126
127     /** Message constant for key in the resource bundle. */
128     public static final String JavaDoc ERR_UNREGISTERED_TYPE_1 = "ERR_UNREGISTERED_TYPE_1";
129
130     /** Message constant for key in the resource bundle. */
131     public static final String JavaDoc ERR_WRITE_XML_DOC_TO_STRING_0 = "ERR_WRITE_XML_DOC_TO_STRING_0";
132
133     /** Message constant for key in the resource bundle. */
134     public static final String JavaDoc ERR_XML_VALIDATION_1 = "ERR_XML_VALIDATION_1";
135
136     /** Message constant for key in the resource bundle. */
137     public static final String JavaDoc INIT_ADD_ST_USING_WIDGET_2 = "INIT_ADD_ST_USING_WIDGET_2";
138
139     /** Message constant for key in the resource bundle. */
140     public static final String JavaDoc INIT_ADD_WIDGET_1 = "INIT_ADD_WIDGET_1";
141
142     /** Message constant for key in the resource bundle. */
143     public static final String JavaDoc INIT_ADD_WIDGET_ALIAS_2 = "INIT_ADD_WIDGET_ALIAS_2";
144
145     /** Message constant for key in the resource bundle. */
146     public static final String JavaDoc INIT_NUM_ST_INITIALIZED_1 = "INIT_NUM_ST_INITIALIZED_1";
147
148     /** Message constant for key in the resource bundle. */
149     public static final String JavaDoc INIT_START_CONTENT_CONFIG_0 = "INIT_START_CONTENT_CONFIG_0";
150
151     /** Message constant for key in the resource bundle. */
152     public static final String JavaDoc LOG_CACHE_LOOKUP_SUCCEEDED_1 = "LOG_CACHE_LOOKUP_SUCCEEDED_1";
153
154     /** Message constant for key in the resource bundle. */
155     public static final String JavaDoc LOG_CONVERTING_SCHEMA_BYTES_ERROR_0 = "LOG_CONVERTING_SCHEMA_BYTES_ERROR_0";
156
157     /** Message constant for key in the resource bundle. */
158     public static final String JavaDoc LOG_DTD_NOT_FOUND_1 = "LOG_DTD_NOT_FOUND_1";
159
160     /** Message constant for key in the resource bundle. */
161     public static final String JavaDoc LOG_ENTITY_RESOLVE_FAILED_1 = "LOG_ENTITY_RESOLVE_FAILED_1";
162
163     /** Message constant for key in the resource bundle. */
164     public static final String JavaDoc LOG_ER_CACHED_SYS_ID_1 = "LOG_ER_CACHED_SYS_ID_1";
165
166     /** Message constant for key in the resource bundle. */
167     public static final String JavaDoc LOG_ER_CACHED_SYSTEM_ID_1 = "LOG_ER_CACHED_SYSTEM_ID_1";
168
169     /** Message constant for key in the resource bundle. */
170     public static final String JavaDoc LOG_ER_FLUSHED_CACHES_0 = "LOG_ER_FLUSHED_CACHES_0";
171
172     /** Message constant for key in the resource bundle. */
173     public static final String JavaDoc LOG_ER_UNCACHED_CONTENT_DEF_1 = "LOG_ER_UNCACHED_CONTENT_DEF_1";
174
175     /** Message constant for key in the resource bundle. */
176     public static final String JavaDoc LOG_ER_UNCACHED_SYS_ID_1 = "LOG_ER_UNCACHED_SYS_ID_1";
177
178     /** Message constant for key in the resource bundle. */
179     public static final String JavaDoc LOG_INIT_DEFAULT_WIDGET_FOR_CONTENT_TYPE_2 = "LOG_INIT_DEFAULT_WIDGET_FOR_CONTENT_TYPE_2";
180
181     /** Message constant for key in the resource bundle. */
182     public static final String JavaDoc LOG_INIT_XML_CONTENT_SCHEMA_TYPE_CLASS_ERROR_1 = "LOG_INIT_XML_CONTENT_SCHEMA_TYPE_CLASS_ERROR_1";
183
184     /** Message constant for key in the resource bundle. */
185     public static final String JavaDoc LOG_INITIALIZE_DEFAULT_GUEST_USER_FAILED_0 = "LOG_INITIALIZE_DEFAULT_GUEST_USER_FAILED_0";
186
187     /** Message constant for key in the resource bundle. */
188     public static final String JavaDoc LOG_PARSE_SAX_EXC_0 = "LOG_PARSE_SAX_EXC_0";
189
190     /** Message constant for key in the resource bundle. */
191     public static final String JavaDoc LOG_PARSING_XML_RESOURCE_ERROR_0 = "LOG_PARSING_XML_RESOURCE_ERROR_0";
192
193     /** Message constant for key in the resource bundle. */
194     public static final String JavaDoc LOG_PARSING_XML_RESOURCE_FATAL_ERROR_0 = "LOG_PARSING_XML_RESOURCE_FATAL_ERROR_0";
195
196     /** Message constant for key in the resource bundle. */
197     public static final String JavaDoc LOG_PARSING_XML_RESOURCE_WARNING_0 = "LOG_PARSING_XML_RESOURCE_WARNING_0";
198
199     /** Message constant for key in the resource bundle. */
200     public static final String JavaDoc LOG_PRETTY_PRINT_SCHEMA_BYTES_ERROR_0 = "LOG_PRETTY_PRINT_SCHEMA_BYTES_ERROR_0";
201
202     /** Message constant for key in the resource bundle. */
203     public static final String JavaDoc LOG_READ_XML_FROM_BYTE_ARR_FAILED_0 = "LOG_READ_XML_FROM_BYTE_ARR_FAILED_0";
204
205     /** Message constant for key in the resource bundle. */
206     public static final String JavaDoc LOG_SAX_READER_FEATURE_NOT_RECOGNIZED_0 = "LOG_SAX_READER_FEATURE_NOT_RECOGNIZED_0";
207
208     /** Message constant for key in the resource bundle. */
209     public static final String JavaDoc LOG_SAX_READER_FEATURE_NOT_SUPPORTED_0 = "LOG_SAX_READER_FEATURE_NOT_SUPPORTED_0";
210
211     /** Message constant for key in the resource bundle. */
212     public static final String JavaDoc LOG_STRINGWRITER_IO_EXC_0 = "LOG_STRINGWRITER_IO_EXC_0";
213
214     /** Message constant for key in the resource bundle. */
215     public static final String JavaDoc LOG_VALIDATION_INIT_XERXES_SAX_READER_FAILED_0 = "LOG_VALIDATION_INIT_XERXES_SAX_READER_FAILED_0";
216
217     /** Message constant for key in the resource bundle. */
218     public static final String JavaDoc LOG_XML_CONTENT_SCHEMA_TYPE_CLASS_NOT_FOUND_1 = "LOG_XML_CONTENT_SCHEMA_TYPE_CLASS_NOT_FOUND_1";
219
220     /** Message constant for key in the resource bundle. */
221     public static final String JavaDoc LOG_XML_TYPE_DEFINITION_XSD_2 = "LOG_XML_TYPE_DEFINITION_XSD_2";
222
223     /** Message constant for key in the resource bundle. */
224     public static final String JavaDoc LOG_XML_WIDGET_INITIALIZING_ERROR_1 = "LOG_XML_WIDGET_INITIALIZING_ERROR_1";
225
226     /** Message constant for key in the resource bundle. */
227     public static final String JavaDoc LOG_XMLPAGE_DTD_NOT_FOUND_1 = "LOG_XMLPAGE_DTD_NOT_FOUND_1";
228     
229     /** Message constant for key in the resource bundle. */
230     public static final String JavaDoc LOG_XMLPAGE_XSD_NOT_FOUND_1 = "LOG_XMLPAGE_XSD_NOT_FOUND_1";
231
232     /** Name of the used resource bundle. */
233     private static final String JavaDoc BUNDLE_NAME = "org.opencms.xml.messages";
234
235     /** Static instance member. */
236     private static final I_CmsMessageBundle INSTANCE = new Messages();
237
238     /**
239      * Hides the public constructor for this utility class.<p>
240      */

241     private Messages() {
242
243         // hide the constructor
244
}
245
246     /**
247      * Returns an instance of this localized message accessor.<p>
248      *
249      * @return an instance of this localized message accessor
250      */

251     public static I_CmsMessageBundle get() {
252
253         return INSTANCE;
254     }
255
256     /**
257      * Returns the bundle name for this OpenCms package.<p>
258      *
259      * @return the bundle name for this OpenCms package
260      */

261     public String JavaDoc getBundleName() {
262
263         return BUNDLE_NAME;
264     }
265 }
Popular Tags