6
|
1 |
/*
|
|
2 |
* reserved comment block
|
|
3 |
* DO NOT REMOVE OR ALTER!
|
|
4 |
*/
|
|
5 |
/*
|
|
6 |
* Copyright 2004 The Apache Software Foundation.
|
|
7 |
*
|
|
8 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9 |
* you may not use this file except in compliance with the License.
|
|
10 |
* You may obtain a copy of the License at
|
|
11 |
*
|
|
12 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13 |
*
|
|
14 |
* Unless required by applicable law or agreed to in writing, software
|
|
15 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17 |
* See the License for the specific language governing permissions and
|
|
18 |
* limitations under the License.
|
|
19 |
*/
|
|
20 |
/*
|
|
21 |
* $Id: MsgKey.java,v 1.1.4.1 2005/09/08 11:03:11 suresh_emailid Exp $
|
|
22 |
*/
|
|
23 |
package com.sun.org.apache.xml.internal.serializer.utils;
|
|
24 |
|
|
25 |
/**
|
|
26 |
* This class is not a public API,
|
|
27 |
* It is used internally by serializer and is public,
|
|
28 |
* in the Java sense, only because its use crosses
|
|
29 |
* package boundaries.
|
|
30 |
* <p>
|
|
31 |
* This class holds only the message keys used
|
|
32 |
* when generating messages.
|
|
33 |
*/
|
|
34 |
public class MsgKey {
|
|
35 |
|
|
36 |
/** An internal error with the messages,
|
|
37 |
* this is the message to use if the message key can't be found
|
|
38 |
*/
|
|
39 |
public static final String BAD_MSGKEY = "BAD_MSGKEY";
|
|
40 |
|
|
41 |
/**
|
|
42 |
* An internal error with the messages,
|
|
43 |
* this is the message to use if the message format operation failed.
|
|
44 |
*/
|
|
45 |
public static final String BAD_MSGFORMAT = "BAD_MSGFORMAT";
|
|
46 |
|
|
47 |
public static final String ER_RESOURCE_COULD_NOT_FIND =
|
|
48 |
"ER_RESOURCE_COULD_NOT_FIND";
|
|
49 |
public static final String ER_RESOURCE_COULD_NOT_LOAD =
|
|
50 |
"ER_RESOURCE_COULD_NOT_LOAD";
|
|
51 |
public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO =
|
|
52 |
"ER_BUFFER_SIZE_LESSTHAN_ZERO";
|
|
53 |
public static final String ER_INVALID_UTF16_SURROGATE =
|
|
54 |
"ER_INVALID_UTF16_SURROGATE";
|
|
55 |
public static final String ER_OIERROR = "ER_OIERROR";
|
|
56 |
public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX";
|
|
57 |
public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTRIBUTE";
|
|
58 |
public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE";
|
|
59 |
public static final String ER_COULD_NOT_LOAD_RESOURCE =
|
|
60 |
"ER_COULD_NOT_LOAD_RESOURCE";
|
|
61 |
public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY =
|
|
62 |
"ER_COULD_NOT_LOAD_METHOD_PROPERTY";
|
|
63 |
public static final String ER_SERIALIZER_NOT_CONTENTHANDLER =
|
|
64 |
"ER_SERIALIZER_NOT_CONTENTHANDLER";
|
|
65 |
public static final String ER_ILLEGAL_ATTRIBUTE_POSITION =
|
|
66 |
"ER_ILLEGAL_ATTRIBUTE_POSITION";
|
|
67 |
public static final String ER_ILLEGAL_CHARACTER = "ER_ILLEGAL_CHARACTER";
|
|
68 |
|
|
69 |
public static final String ER_INVALID_PORT = "ER_INVALID_PORT";
|
|
70 |
public static final String ER_PORT_WHEN_HOST_NULL =
|
|
71 |
"ER_PORT_WHEN_HOST_NULL";
|
|
72 |
public static final String ER_HOST_ADDRESS_NOT_WELLFORMED =
|
|
73 |
"ER_HOST_ADDRESS_NOT_WELLFORMED";
|
|
74 |
public static final String ER_SCHEME_NOT_CONFORMANT =
|
|
75 |
"ER_SCHEME_NOT_CONFORMANT";
|
|
76 |
public static final String ER_SCHEME_FROM_NULL_STRING =
|
|
77 |
"ER_SCHEME_FROM_NULL_STRING";
|
|
78 |
public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE =
|
|
79 |
"ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE";
|
|
80 |
public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR";
|
|
81 |
public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI";
|
|
82 |
public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR";
|
|
83 |
public static final String ER_FRAG_WHEN_PATH_NULL =
|
|
84 |
"ER_FRAG_WHEN_PATH_NULL";
|
|
85 |
public static final String ER_FRAG_FOR_GENERIC_URI =
|
|
86 |
"ER_FRAG_FOR_GENERIC_URI";
|
|
87 |
public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI";
|
|
88 |
public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS =
|
|
89 |
"ER_CANNOT_INIT_URI_EMPTY_PARMS";
|
|
90 |
public static final String ER_NO_FRAGMENT_STRING_IN_PATH =
|
|
91 |
"ER_NO_FRAGMENT_STRING_IN_PATH";
|
|
92 |
public static final String ER_NO_QUERY_STRING_IN_PATH =
|
|
93 |
"ER_NO_QUERY_STRING_IN_PATH";
|
|
94 |
public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST";
|
|
95 |
public static final String ER_NO_USERINFO_IF_NO_HOST =
|
|
96 |
"ER_NO_USERINFO_IF_NO_HOST";
|
|
97 |
public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED";
|
|
98 |
public static final String ER_XML_VERSION_NOT_SUPPORTED = "ER_XML_VERSION_NOT_SUPPORTED";
|
|
99 |
public static final String ER_FACTORY_PROPERTY_MISSING = "ER_FACTORY_PROPERTY_MISSING";
|
|
100 |
public static final String ER_ENCODING_NOT_SUPPORTED = "ER_ENCODING_NOT_SUPPORTED";
|
|
101 |
|
|
102 |
}
|