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