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