001: /*
002: * File : $Source: /usr/local/cvs/opencms/src/org/opencms/xml/Messages.java,v $
003: * Date : $Date: 2008-02-27 12:05:51 $
004: * Version: $Revision: 1.15 $
005: *
006: * This library is part of OpenCms -
007: * the Open Source Content Management System
008: *
009: * Copyright (c) 2002 - 2008 Alkacon Software GmbH (http://www.alkacon.com)
010: *
011: * This library is free software; you can redistribute it and/or
012: * modify it under the terms of the GNU Lesser General Public
013: * License as published by the Free Software Foundation; either
014: * version 2.1 of the License, or (at your option) any later version.
015: *
016: * This library is distributed in the hope that it will be useful,
017: * but WITHOUT ANY WARRANTY; without even the implied warranty of
018: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
019: * Lesser General Public License for more details.
020: *
021: * For further information about Alkacon Software GmbH, please see the
022: * company website: http://www.alkacon.com
023: *
024: * For further information about OpenCms, please see the
025: * project website: http://www.opencms.org
026: *
027: * You should have received a copy of the GNU Lesser General Public
028: * License along with this library; if not, write to the Free Software
029: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
030: */
031:
032: package org.opencms.xml;
033:
034: import org.opencms.i18n.A_CmsMessageBundle;
035: import org.opencms.i18n.I_CmsMessageBundle;
036:
037: /**
038: * Convenience class to access the localized messages of this OpenCms package.<p>
039: *
040: * @author Alexander Kandzior
041: * @author Jan Baudisch
042: *
043: * @version $Revision: 1.15 $
044: *
045: * @since 6.0.0
046: */
047: public final class Messages extends A_CmsMessageBundle {
048:
049: /** Message constant for key in the resource bundle. */
050: public static final String ERR_CD_BAD_INCLUDE_1 = "ERR_CD_BAD_INCLUDE_1";
051:
052: /** Message constant for key in the resource bundle. */
053: public static final String ERR_CD_COMPLEX_TYPE_COUNT_1 = "ERR_CD_COMPLEX_TYPE_COUNT_1";
054:
055: /** Message constant for key in the resource bundle. */
056: public static final String ERR_CD_ELEMENT_NAME_3 = "ERR_CD_ELEMENT_NAME_3";
057:
058: /** Message constant for key in the resource bundle. */
059: public static final String ERR_CD_FIRST_INCLUDE_2 = "ERR_CD_FIRST_INCLUDE_2";
060:
061: /** Message constant for key in the resource bundle. */
062: public static final String ERR_CD_NO_SCHEMA_NODE_0 = "ERR_CD_NO_SCHEMA_NODE_0";
063:
064: /** Message constant for key in the resource bundle. */
065: public static final String ERR_CD_ONE_INCLUDE_REQUIRED_0 = "ERR_CD_ONE_INCLUDE_REQUIRED_0";
066:
067: /** Message constant for key in the resource bundle. */
068: public static final String ERR_CD_ROOT_ELEMENT_COUNT_1 = "ERR_CD_ROOT_ELEMENT_COUNT_1";
069:
070: /** Message constant for key in the resource bundle. */
071: public static final String ERR_CORRECT_NO_CONTENT_DEF_3 = "ERR_CORRECT_NO_CONTENT_DEF_3";
072:
073: /** Message constant for key in the resource bundle. */
074: public static final String ERR_EL_ATTRIBUTE_TOOFEW_3 = "ERR_EL_ATTRIBUTE_TOOFEW_3";
075:
076: /** Message constant for key in the resource bundle. */
077: public static final String ERR_EL_ATTRIBUTE_TOOMANY_3 = "ERR_EL_ATTRIBUTE_TOOMANY_3";
078:
079: /** Message constant for key in the resource bundle. */
080: public static final String ERR_EL_BAD_ATTRIBUTE_VALUE_4 = "ERR_EL_BAD_ATTRIBUTE_VALUE_4";
081:
082: /** Message constant for key in the resource bundle. */
083: public static final String ERR_EL_BAD_ATTRIBUTE_WS_3 = "ERR_EL_BAD_ATTRIBUTE_WS_3";
084:
085: /** Message constant for key in the resource bundle. */
086: public static final String ERR_EL_INVALID_ATTRIBUTE_2 = "ERR_EL_INVALID_ATTRIBUTE_2";
087:
088: /** Message constant for key in the resource bundle. */
089: public static final String ERR_EL_MISSING_ATTRIBUTE_2 = "ERR_EL_MISSING_ATTRIBUTE_2";
090:
091: /** Message constant for key in the resource bundle. */
092: public static final String ERR_INIT_TYPE_MANAGER_0 = "ERR_INIT_TYPE_MANAGER_0";
093:
094: /** Message constant for key in the resource bundle. */
095: public static final String ERR_INVALID_CD_SCHEMA_STRUCTURE_0 = "ERR_INVALID_CD_SCHEMA_STRUCTURE_0";
096:
097: /** Message constant for key in the resource bundle. */
098: public static final String ERR_INVALID_CONTENT_HANDLER_1 = "ERR_INVALID_CONTENT_HANDLER_1";
099:
100: /** Message constant for key in the resource bundle. */
101: public static final String ERR_INVALID_INIT_USER_1 = "ERR_INVALID_INIT_USER_1";
102:
103: /** Message constant for key in the resource bundle. */
104: public static final String ERR_INVALID_XCC_TYPE_REGISTERED_0 = "ERR_INVALID_XCC_TYPE_REGISTERED_0";
105:
106: /** Message constant for key in the resource bundle. */
107: public static final String ERR_LOCALE_ALREADY_EXISTS_1 = "ERR_LOCALE_ALREADY_EXISTS_1";
108:
109: /** Message constant for key in the resource bundle. */
110: public static final String ERR_LOCALE_NOT_AVAILABLE_1 = "ERR_LOCALE_NOT_AVAILABLE_1";
111:
112: /** Message constant for key in the resource bundle. */
113: public static final String ERR_MARSHALLING_XML_DOC_0 = "ERR_MARSHALLING_XML_DOC_0";
114:
115: /** Message constant for key in the resource bundle. */
116: public static final String ERR_MARSHALLING_XML_DOC_TO_STRING_0 = "ERR_MARSHALLING_XML_DOC_TO_STRING_0";
117:
118: /** Message constant for key in the resource bundle. */
119: public static final String ERR_NULL_CMSOBJECT_0 = "ERR_NULL_CMSOBJECT_0";
120:
121: /** Message constant for key in the resource bundle. */
122: public static final String ERR_NULL_LOCALE_0 = "ERR_NULL_LOCALE_0";
123:
124: /** Message constant for key in the resource bundle. */
125: public static final String ERR_TS_SUBELEMENT_COUNT_2 = "ERR_TS_SUBELEMENT_COUNT_2";
126:
127: /** Message constant for key in the resource bundle. */
128: public static final String ERR_TS_SUBELEMENT_TOOFEW_3 = "ERR_TS_SUBELEMENT_TOOFEW_3";
129:
130: /** Message constant for key in the resource bundle. */
131: public static final String ERR_UNKNOWN_SCHEMA_1 = "ERR_UNKNOWN_SCHEMA_1";
132:
133: /** Message constant for key in the resource bundle. */
134: public static final String ERR_UNMARSHALLING_XML_DOC_0 = "ERR_UNMARSHALLING_XML_DOC_0";
135:
136: /** Message constant for key in the resource bundle. */
137: public static final String ERR_UNREGISTERED_TYPE_1 = "ERR_UNREGISTERED_TYPE_1";
138:
139: /** Message constant for key in the resource bundle. */
140: public static final String ERR_WRITE_XML_DOC_TO_STRING_0 = "ERR_WRITE_XML_DOC_TO_STRING_0";
141:
142: /** Message constant for key in the resource bundle. */
143: public static final String ERR_XML_VALIDATION_1 = "ERR_XML_VALIDATION_1";
144:
145: /** Message constant for key in the resource bundle. */
146: public static final String INIT_ADD_ST_USING_WIDGET_2 = "INIT_ADD_ST_USING_WIDGET_2";
147:
148: /** Message constant for key in the resource bundle. */
149: public static final String INIT_ADD_WIDGET_1 = "INIT_ADD_WIDGET_1";
150:
151: /** Message constant for key in the resource bundle. */
152: public static final String INIT_ADD_WIDGET_ALIAS_2 = "INIT_ADD_WIDGET_ALIAS_2";
153:
154: /** Message constant for key in the resource bundle. */
155: public static final String INIT_NUM_ST_INITIALIZED_1 = "INIT_NUM_ST_INITIALIZED_1";
156:
157: /** Message constant for key in the resource bundle. */
158: public static final String INIT_START_CONTENT_CONFIG_0 = "INIT_START_CONTENT_CONFIG_0";
159:
160: /** Message constant for key in the resource bundle. */
161: public static final String LOG_CACHE_LOOKUP_SUCCEEDED_1 = "LOG_CACHE_LOOKUP_SUCCEEDED_1";
162:
163: /** Message constant for key in the resource bundle. */
164: public static final String LOG_CONVERTING_SCHEMA_BYTES_ERROR_0 = "LOG_CONVERTING_SCHEMA_BYTES_ERROR_0";
165:
166: /** Message constant for key in the resource bundle. */
167: public static final String LOG_DTD_NOT_FOUND_1 = "LOG_DTD_NOT_FOUND_1";
168:
169: /** Message constant for key in the resource bundle. */
170: public static final String LOG_ENTITY_RESOLVE_FAILED_1 = "LOG_ENTITY_RESOLVE_FAILED_1";
171:
172: /** Message constant for key in the resource bundle. */
173: public static final String LOG_ER_CACHED_SYS_ID_1 = "LOG_ER_CACHED_SYS_ID_1";
174:
175: /** Message constant for key in the resource bundle. */
176: public static final String LOG_ER_CACHED_SYSTEM_ID_1 = "LOG_ER_CACHED_SYSTEM_ID_1";
177:
178: /** Message constant for key in the resource bundle. */
179: public static final String LOG_ER_FLUSHED_CACHES_0 = "LOG_ER_FLUSHED_CACHES_0";
180:
181: /** Message constant for key in the resource bundle. */
182: public static final String LOG_ER_UNCACHED_CONTENT_DEF_1 = "LOG_ER_UNCACHED_CONTENT_DEF_1";
183:
184: /** Message constant for key in the resource bundle. */
185: public static final String LOG_ER_UNCACHED_SYS_ID_1 = "LOG_ER_UNCACHED_SYS_ID_1";
186:
187: /** Message constant for key in the resource bundle. */
188: public static final String LOG_INIT_DEFAULT_WIDGET_FOR_CONTENT_TYPE_2 = "LOG_INIT_DEFAULT_WIDGET_FOR_CONTENT_TYPE_2";
189:
190: /** Message constant for key in the resource bundle. */
191: public static final String LOG_INIT_XML_CONTENT_SCHEMA_TYPE_CLASS_ERROR_1 = "LOG_INIT_XML_CONTENT_SCHEMA_TYPE_CLASS_ERROR_1";
192:
193: /** Message constant for key in the resource bundle. */
194: public static final String LOG_INITIALIZE_DEFAULT_GUEST_USER_FAILED_0 = "LOG_INITIALIZE_DEFAULT_GUEST_USER_FAILED_0";
195:
196: /** Message constant for key in the resource bundle. */
197: public static final String LOG_PARSE_SAX_EXC_0 = "LOG_PARSE_SAX_EXC_0";
198:
199: /** Message constant for key in the resource bundle. */
200: public static final String LOG_PARSING_XML_RESOURCE_ERROR_1 = "LOG_PARSING_XML_RESOURCE_ERROR_1";
201:
202: /** Message constant for key in the resource bundle. */
203: public static final String LOG_PARSING_XML_RESOURCE_FATAL_ERROR_1 = "LOG_PARSING_XML_RESOURCE_FATAL_ERROR_1";
204:
205: /** Message constant for key in the resource bundle. */
206: public static final String LOG_PARSING_XML_RESOURCE_WARNING_1 = "LOG_PARSING_XML_RESOURCE_WARNING_1";
207:
208: /** Message constant for key in the resource bundle. */
209: public static final String LOG_PRETTY_PRINT_SCHEMA_BYTES_ERROR_0 = "LOG_PRETTY_PRINT_SCHEMA_BYTES_ERROR_0";
210:
211: /** Message constant for key in the resource bundle. */
212: public static final String LOG_READ_XML_FROM_BYTE_ARR_FAILED_0 = "LOG_READ_XML_FROM_BYTE_ARR_FAILED_0";
213:
214: /** Message constant for key in the resource bundle. */
215: public static final String LOG_SAX_READER_FEATURE_NOT_RECOGNIZED_0 = "LOG_SAX_READER_FEATURE_NOT_RECOGNIZED_0";
216:
217: /** Message constant for key in the resource bundle. */
218: public static final String LOG_SAX_READER_FEATURE_NOT_SUPPORTED_0 = "LOG_SAX_READER_FEATURE_NOT_SUPPORTED_0";
219:
220: /** Message constant for key in the resource bundle. */
221: public static final String LOG_STRINGWRITER_IO_EXC_0 = "LOG_STRINGWRITER_IO_EXC_0";
222:
223: /** Message constant for key in the resource bundle. */
224: public static final String LOG_VALIDATION_INIT_XERXES_SAX_READER_FAILED_0 = "LOG_VALIDATION_INIT_XERXES_SAX_READER_FAILED_0";
225:
226: /** Message constant for key in the resource bundle. */
227: public static final String LOG_XML_CONTENT_SCHEMA_TYPE_CLASS_NOT_FOUND_1 = "LOG_XML_CONTENT_SCHEMA_TYPE_CLASS_NOT_FOUND_1";
228:
229: /** Message constant for key in the resource bundle. */
230: public static final String LOG_XML_TYPE_DEFINITION_XSD_2 = "LOG_XML_TYPE_DEFINITION_XSD_2";
231:
232: /** Message constant for key in the resource bundle. */
233: public static final String LOG_XML_WIDGET_INITIALIZING_ERROR_1 = "LOG_XML_WIDGET_INITIALIZING_ERROR_1";
234:
235: /** Message constant for key in the resource bundle. */
236: public static final String LOG_XMLPAGE_DTD_NOT_FOUND_1 = "LOG_XMLPAGE_DTD_NOT_FOUND_1";
237:
238: /** Message constant for key in the resource bundle. */
239: public static final String LOG_XMLPAGE_XSD_NOT_FOUND_1 = "LOG_XMLPAGE_XSD_NOT_FOUND_1";
240:
241: /** Name of the used resource bundle. */
242: private static final String BUNDLE_NAME = "org.opencms.xml.messages";
243:
244: /** Static instance member. */
245: private static final I_CmsMessageBundle INSTANCE = new Messages();
246:
247: /**
248: * Hides the public constructor for this utility class.<p>
249: */
250: private Messages() {
251:
252: // hide the constructor
253: }
254:
255: /**
256: * Returns an instance of this localized message accessor.<p>
257: *
258: * @return an instance of this localized message accessor
259: */
260: public static I_CmsMessageBundle get() {
261:
262: return INSTANCE;
263: }
264:
265: /**
266: * Returns the bundle name for this OpenCms package.<p>
267: *
268: * @return the bundle name for this OpenCms package
269: */
270: public String getBundleName() {
271:
272: return BUNDLE_NAME;
273: }
274: }
|