KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * Copyright 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: MsgKey.java,v 1.1.4.1 2005/09/08 11:03:11 suresh_emailid Exp $
18  */

19 package com.sun.org.apache.xml.internal.serializer.utils;
20
21 /**
22  * This class is not a public API,
23  * It is used internally by serializer and is public,
24  * in the Java sense, only because its use crosses
25  * package boundaries.
26  * <p>
27  * This class holds only the message keys used
28  * when generating messages.
29  */

30 public class MsgKey {
31
32     /** An internal error with the messages,
33      * this is the message to use if the message key can't be found
34      */

35     public static final String JavaDoc BAD_MSGKEY = "BAD_MSGKEY";
36
37     /**
38      * An internal error with the messages,
39      * this is the message to use if the message format operation failed.
40      */

41     public static final String JavaDoc BAD_MSGFORMAT = "BAD_MSGFORMAT";
42
43     public static final String JavaDoc ER_RESOURCE_COULD_NOT_FIND =
44         "ER_RESOURCE_COULD_NOT_FIND";
45     public static final String JavaDoc ER_RESOURCE_COULD_NOT_LOAD =
46         "ER_RESOURCE_COULD_NOT_LOAD";
47     public static final String JavaDoc ER_BUFFER_SIZE_LESSTHAN_ZERO =
48         "ER_BUFFER_SIZE_LESSTHAN_ZERO";
49     public static final String JavaDoc ER_INVALID_UTF16_SURROGATE =
50         "ER_INVALID_UTF16_SURROGATE";
51     public static final String JavaDoc ER_OIERROR = "ER_OIERROR";
52     public static final String JavaDoc ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX";
53     public static final String JavaDoc ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTRIBUTE";
54     public static final String JavaDoc ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE";
55     public static final String JavaDoc ER_COULD_NOT_LOAD_RESOURCE =
56         "ER_COULD_NOT_LOAD_RESOURCE";
57     public static final String JavaDoc ER_COULD_NOT_LOAD_METHOD_PROPERTY =
58         "ER_COULD_NOT_LOAD_METHOD_PROPERTY";
59     public static final String JavaDoc ER_SERIALIZER_NOT_CONTENTHANDLER =
60         "ER_SERIALIZER_NOT_CONTENTHANDLER";
61     public static final String JavaDoc ER_ILLEGAL_ATTRIBUTE_POSITION =
62         "ER_ILLEGAL_ATTRIBUTE_POSITION";
63     public static final String JavaDoc ER_ILLEGAL_CHARACTER = "ER_ILLEGAL_CHARACTER";
64
65     public static final String JavaDoc ER_INVALID_PORT = "ER_INVALID_PORT";
66     public static final String JavaDoc ER_PORT_WHEN_HOST_NULL =
67         "ER_PORT_WHEN_HOST_NULL";
68     public static final String JavaDoc ER_HOST_ADDRESS_NOT_WELLFORMED =
69         "ER_HOST_ADDRESS_NOT_WELLFORMED";
70     public static final String JavaDoc ER_SCHEME_NOT_CONFORMANT =
71         "ER_SCHEME_NOT_CONFORMANT";
72     public static final String JavaDoc ER_SCHEME_FROM_NULL_STRING =
73         "ER_SCHEME_FROM_NULL_STRING";
74     public static final String JavaDoc ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE =
75         "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE";
76     public static final String JavaDoc ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR";
77     public static final String JavaDoc ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI";
78     public static final String JavaDoc ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR";
79     public static final String JavaDoc ER_FRAG_WHEN_PATH_NULL =
80         "ER_FRAG_WHEN_PATH_NULL";
81     public static final String JavaDoc ER_FRAG_FOR_GENERIC_URI =
82         "ER_FRAG_FOR_GENERIC_URI";
83     public static final String JavaDoc ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI";
84     public static final String JavaDoc ER_CANNOT_INIT_URI_EMPTY_PARMS =
85         "ER_CANNOT_INIT_URI_EMPTY_PARMS";
86     public static final String JavaDoc ER_NO_FRAGMENT_STRING_IN_PATH =
87         "ER_NO_FRAGMENT_STRING_IN_PATH";
88     public static final String JavaDoc ER_NO_QUERY_STRING_IN_PATH =
89         "ER_NO_QUERY_STRING_IN_PATH";
90     public static final String JavaDoc ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST";
91     public static final String JavaDoc ER_NO_USERINFO_IF_NO_HOST =
92         "ER_NO_USERINFO_IF_NO_HOST";
93     public static final String JavaDoc ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED";
94     public static final String JavaDoc ER_XML_VERSION_NOT_SUPPORTED = "ER_XML_VERSION_NOT_SUPPORTED";
95     public static final String JavaDoc ER_FACTORY_PROPERTY_MISSING = "ER_FACTORY_PROPERTY_MISSING";
96     public static final String JavaDoc ER_ENCODING_NOT_SUPPORTED = "ER_ENCODING_NOT_SUPPORTED";
97     
98 }
99
Popular Tags