KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * File : $Source: /usr/local/cvs/opencms/src/org/opencms/xml/content/Messages.java,v $
3  * Date : $Date: 2006/03/27 14:52:36 $
4  * Version: $Revision: 1.8 $
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.content;
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  * @version $Revision: 1.8 $
41  *
42  * @since 6.0.0
43  */

44 public final class Messages extends A_CmsMessageBundle {
45
46     /** Message constant for key in the resource bundle. */
47     public static final String JavaDoc ERR_UNABLE_TO_INITIALIZE_CMSOBJECT_1 = "ERR_UNABLE_TO_INITIALIZE_CMSOBJECT_1";
48
49     /** Message constant for key in the resource bundle. */
50     public static final String JavaDoc ERR_XML_SCHEMA_IO_0 = "ERR_XML_SCHEMA_IO_0";
51
52     /** Message constant for key in the resource bundle. */
53     public static final String JavaDoc ERR_XML_SCHEMA_PARSE_0 = "ERR_XML_SCHEMA_PARSE_0";
54
55     /** Message constant for key in the resource bundle. */
56     public static final String JavaDoc ERR_XMLCONTENT_ADD_ELEM_INVALID_IDX_2 = "ERR_XMLCONTENT_ADD_ELEM_INVALID_IDX_2";
57
58     /** Message constant for key in the resource bundle. */
59     public static final String JavaDoc ERR_XMLCONTENT_ADD_ELEM_INVALID_IDX_3 = "ERR_XMLCONTENT_ADD_ELEM_INVALID_IDX_3";
60
61     /** Message constant for key in the resource bundle. */
62     public static final String JavaDoc ERR_XMLCONTENT_CONFIG_ELEM_UNKNOWN_1 = "ERR_XMLCONTENT_CONFIG_ELEM_UNKNOWN_1";
63
64     /** Message constant for key in the resource bundle. */
65     public static final String JavaDoc ERR_XMLCONTENT_ELEM_MAXOCCURS_2 = "ERR_XMLCONTENT_ELEM_MAXOCCURS_2";
66
67     /** Message constant for key in the resource bundle. */
68     public static final String JavaDoc ERR_XMLCONTENT_ELEM_MINOCCURS_2 = "ERR_XMLCONTENT_ELEM_MINOCCURS_2";
69
70     /** Message constant for key in the resource bundle. */
71     public static final String JavaDoc ERR_XMLCONTENT_INVALID_CUSTOM_CLASS_3 = "ERR_XMLCONTENT_INVALID_CUSTOM_CLASS_3";
72
73     /** Message constant for key in the resource bundle. */
74     public static final String JavaDoc ERR_XMLCONTENT_INVALID_ELEM_LAYOUTWIDGET_1 = "ERR_XMLCONTENT_INVALID_ELEM_LAYOUTWIDGET_1";
75
76     /** Message constant for key in the resource bundle. */
77     public static final String JavaDoc ERR_XMLCONTENT_INVALID_ELEM_MAPPING_1 = "ERR_XMLCONTENT_INVALID_ELEM_MAPPING_1";
78
79     /** Message constant for key in the resource bundle. */
80     public static final String JavaDoc ERR_XMLCONTENT_INVALID_ELEM_VALIDATION_1 = "ERR_XMLCONTENT_INVALID_ELEM_VALIDATION_1";
81
82     /** Message constant for key in the resource bundle. */
83     public static final String JavaDoc ERR_XMLCONTENT_INVALID_ENC_1 = "ERR_XMLCONTENT_INVALID_ENC_1";
84
85     /** Message constant for key in the resource bundle. */
86     public static final String JavaDoc ERR_XMLCONTENT_INVALID_TYPE_1 = "ERR_XMLCONTENT_INVALID_TYPE_1";
87
88     /** Message constant for key in the resource bundle. */
89     public static final String JavaDoc ERR_XMLCONTENT_INVALID_WIDGET_3 = "ERR_XMLCONTENT_INVALID_WIDGET_3";
90
91     /** Message constant for key in the resource bundle. */
92     public static final String JavaDoc ERR_XMLCONTENT_MISSING_LOCALE_1 = "ERR_XMLCONTENT_MISSING_LOCALE_1";
93
94     /** Message constant for key in the resource bundle. */
95     public static final String JavaDoc ERR_XMLCONTENT_MISSING_PREVIEW_URI_2 = "ERR_XMLCONTENT_MISSING_PREVIEW_URI_2";
96
97     /** Message constant for key in the resource bundle. */
98     public static final String JavaDoc ERR_XMLCONTENT_MISSING_RESOURCE_BUNDLE_NAME_2 = "ERR_XMLCONTENT_MISSING_RESOURCE_BUNDLE_NAME_2";
99
100     /** Message constant for key in the resource bundle. */
101     public static final String JavaDoc ERR_XMLCONTENT_MISSING_SCHEMA_0 = "ERR_XMLCONTENT_MISSING_SCHEMA_0";
102
103     /** Message constant for key in the resource bundle. */
104     public static final String JavaDoc ERR_XMLCONTENT_RESOLVE_FILE_NOT_FOUND_0 = "ERR_XMLCONTENT_RESOLVE_FILE_NOT_FOUND_0";
105
106     /** Message constant for key in the resource bundle. */
107     public static final String JavaDoc ERR_XMLCONTENT_UNKNOWN_ELEM_PATH_1 = "ERR_XMLCONTENT_UNKNOWN_ELEM_PATH_1";
108
109     /** Message constant for key in the resource bundle. */
110     public static final String JavaDoc ERR_XMLCONTENT_UNKNOWN_ELEM_PATH_SCHEMA_1 = "ERR_XMLCONTENT_UNKNOWN_ELEM_PATH_SCHEMA_1";
111
112     /** Message constant for key in the resource bundle. */
113     public static final String JavaDoc ERR_XMLCONTENT_UNMARSHAL_0 = "ERR_XMLCONTENT_UNMARSHAL_0";
114
115     /** Message constant for key in the resource bundle. */
116     public static final String JavaDoc GUI_EDITOR_XMLCONTENT_VALIDATION_ERROR_2 = "GUI_EDITOR_XMLCONTENT_VALIDATION_ERROR_2";
117
118     /** Message constant for key in the resource bundle. */
119     public static final String JavaDoc GUI_EDITOR_XMLCONTENT_VALIDATION_ERROR_TITLE_0 = "GUI_EDITOR_XMLCONTENT_VALIDATION_ERROR_TITLE_0";
120
121     /** Message constant for key in the resource bundle. */
122     public static final String JavaDoc GUI_EDITOR_XMLCONTENT_VALIDATION_WARNING_2 = "GUI_EDITOR_XMLCONTENT_VALIDATION_WARNING_2";
123
124     /** Message constant for key in the resource bundle. */
125     public static final String JavaDoc LOG_XMLCONTENT_INIT_BOOKMARKS_0 = "LOG_XMLCONTENT_INIT_BOOKMARKS_0";
126
127     /** Message constant for key in the resource bundle. */
128     public static final String JavaDoc LOG_XMLCONTENT_INVALID_ELEM_2 = "LOG_XMLCONTENT_INVALID_ELEM_2";
129
130     /** Message constant for key in the resource bundle. */
131     public static final String JavaDoc LOG_XMLCONTENT_RESOLVE_MAPPING_1 = "LOG_XMLCONTENT_RESOLVE_MAPPING_1";
132
133     /** Message constant for key in the resource bundle. */
134     public static final String JavaDoc LOG_XMLCONTENT_VALIDATION_ERR_2 = "LOG_XMLCONTENT_VALIDATION_ERR_2";
135
136     /** Message constant for key in the resource bundle. */
137     public static final String JavaDoc LOG_XMLCONTENT_VALIDATION_WARN_2 = "LOG_XMLCONTENT_VALIDATION_WARN_2";
138
139     /** Message constant for key in the resource bundle. */
140     public static final String JavaDoc LOG_XMLCONTENT_VISIT_1 = "LOG_XMLCONTENT_VISIT_1";
141
142     /** Name of the used resource bundle. */
143     private static final String JavaDoc BUNDLE_NAME = "org.opencms.xml.content.messages";
144
145     /** Static instance member. */
146     private static final I_CmsMessageBundle INSTANCE = new Messages();
147
148     /**
149      * Hides the public constructor for this utility class.<p>
150      */

151     private Messages() {
152
153         // hide the constructor
154
}
155
156     /**
157      * Returns an instance of this localized message accessor.<p>
158      *
159      * @return an instance of this localized message accessor
160      */

161     public static I_CmsMessageBundle get() {
162
163         return INSTANCE;
164     }
165
166     /**
167      * Returns the bundle name for this OpenCms package.<p>
168      *
169      * @return the bundle name for this OpenCms package
170      */

171     public String JavaDoc getBundleName() {
172
173         return BUNDLE_NAME;
174     }
175 }
Popular Tags