corba/src/jdk.rmic/share/classes/sun/rmi/rmic/iiop/Constants.java
author dsamersoff
Wed, 14 Jan 2015 17:22:28 +0000
changeset 28619 adeadd271a0f
parent 25862 a5e25d68f971
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     1
/*
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     2
 * Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
02bb8761fcce Initial load
duke
parents:
diff changeset
     4
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
02bb8761fcce Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    10
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
02bb8761fcce Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
02bb8761fcce Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
02bb8761fcce Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
02bb8761fcce Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
02bb8761fcce Initial load
duke
parents:
diff changeset
    16
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
02bb8761fcce Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
02bb8761fcce Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
02bb8761fcce Initial load
duke
parents:
diff changeset
    20
 *
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    23
 * questions.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    24
 */
02bb8761fcce Initial load
duke
parents:
diff changeset
    25
02bb8761fcce Initial load
duke
parents:
diff changeset
    26
/*
02bb8761fcce Initial load
duke
parents:
diff changeset
    27
 * Licensed Materials - Property of IBM
02bb8761fcce Initial load
duke
parents:
diff changeset
    28
 * RMI-IIOP v1.0
02bb8761fcce Initial load
duke
parents:
diff changeset
    29
 * Copyright IBM Corp. 1998 1999  All Rights Reserved
02bb8761fcce Initial load
duke
parents:
diff changeset
    30
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    31
 */
02bb8761fcce Initial load
duke
parents:
diff changeset
    32
02bb8761fcce Initial load
duke
parents:
diff changeset
    33
package sun.rmi.rmic.iiop;
02bb8761fcce Initial load
duke
parents:
diff changeset
    34
02bb8761fcce Initial load
duke
parents:
diff changeset
    35
import sun.tools.java.Identifier;
02bb8761fcce Initial load
duke
parents:
diff changeset
    36
02bb8761fcce Initial load
duke
parents:
diff changeset
    37
public interface Constants extends sun.rmi.rmic.Constants {
02bb8761fcce Initial load
duke
parents:
diff changeset
    38
02bb8761fcce Initial load
duke
parents:
diff changeset
    39
    // Identifiers for referenced classes:
02bb8761fcce Initial load
duke
parents:
diff changeset
    40
02bb8761fcce Initial load
duke
parents:
diff changeset
    41
    public static final Identifier idReplyHandler =
02bb8761fcce Initial load
duke
parents:
diff changeset
    42
        Identifier.lookup("org.omg.CORBA.portable.ResponseHandler");
02bb8761fcce Initial load
duke
parents:
diff changeset
    43
    public static final Identifier idStubBase =
02bb8761fcce Initial load
duke
parents:
diff changeset
    44
        Identifier.lookup("javax.rmi.CORBA.Stub");
02bb8761fcce Initial load
duke
parents:
diff changeset
    45
    public static final Identifier idTieBase =
02bb8761fcce Initial load
duke
parents:
diff changeset
    46
        Identifier.lookup("org.omg.CORBA.portable.ObjectImpl");
02bb8761fcce Initial load
duke
parents:
diff changeset
    47
    public static final Identifier idTieInterface =
02bb8761fcce Initial load
duke
parents:
diff changeset
    48
        Identifier.lookup("javax.rmi.CORBA.Tie");
02bb8761fcce Initial load
duke
parents:
diff changeset
    49
    public static final Identifier idPOAServantType =
02bb8761fcce Initial load
duke
parents:
diff changeset
    50
        Identifier.lookup( "org.omg.PortableServer.Servant" ) ;
02bb8761fcce Initial load
duke
parents:
diff changeset
    51
    public static final Identifier idDelegate =
02bb8761fcce Initial load
duke
parents:
diff changeset
    52
        Identifier.lookup("org.omg.CORBA.portable.Delegate");
02bb8761fcce Initial load
duke
parents:
diff changeset
    53
    public static final Identifier idOutputStream =
02bb8761fcce Initial load
duke
parents:
diff changeset
    54
        Identifier.lookup("org.omg.CORBA.portable.OutputStream");
02bb8761fcce Initial load
duke
parents:
diff changeset
    55
    public static final Identifier idExtOutputStream =
02bb8761fcce Initial load
duke
parents:
diff changeset
    56
        Identifier.lookup("org.omg.CORBA_2_3.portable.OutputStream");
02bb8761fcce Initial load
duke
parents:
diff changeset
    57
    public static final Identifier idInputStream =
02bb8761fcce Initial load
duke
parents:
diff changeset
    58
        Identifier.lookup("org.omg.CORBA.portable.InputStream");
02bb8761fcce Initial load
duke
parents:
diff changeset
    59
    public static final Identifier idExtInputStream =
02bb8761fcce Initial load
duke
parents:
diff changeset
    60
        Identifier.lookup("org.omg.CORBA_2_3.portable.InputStream");
02bb8761fcce Initial load
duke
parents:
diff changeset
    61
    public static final Identifier idSystemException =
02bb8761fcce Initial load
duke
parents:
diff changeset
    62
        Identifier.lookup("org.omg.CORBA.SystemException");
02bb8761fcce Initial load
duke
parents:
diff changeset
    63
    public static final Identifier idBadMethodException =
02bb8761fcce Initial load
duke
parents:
diff changeset
    64
        Identifier.lookup("org.omg.CORBA.BAD_OPERATION");
02bb8761fcce Initial load
duke
parents:
diff changeset
    65
    public static final Identifier idPortableUnknownException =
02bb8761fcce Initial load
duke
parents:
diff changeset
    66
        Identifier.lookup("org.omg.CORBA.portable.UnknownException");
02bb8761fcce Initial load
duke
parents:
diff changeset
    67
    public static final Identifier idApplicationException =
02bb8761fcce Initial load
duke
parents:
diff changeset
    68
        Identifier.lookup("org.omg.CORBA.portable.ApplicationException");
02bb8761fcce Initial load
duke
parents:
diff changeset
    69
    public static final Identifier idRemarshalException =
02bb8761fcce Initial load
duke
parents:
diff changeset
    70
        Identifier.lookup("org.omg.CORBA.portable.RemarshalException");
02bb8761fcce Initial load
duke
parents:
diff changeset
    71
    public static final Identifier idJavaIoExternalizable =
02bb8761fcce Initial load
duke
parents:
diff changeset
    72
        Identifier.lookup("java.io.Externalizable");
02bb8761fcce Initial load
duke
parents:
diff changeset
    73
    public static final Identifier idCorbaObject =
02bb8761fcce Initial load
duke
parents:
diff changeset
    74
        Identifier.lookup("org.omg.CORBA.Object");
02bb8761fcce Initial load
duke
parents:
diff changeset
    75
    public static final Identifier idCorbaORB =
02bb8761fcce Initial load
duke
parents:
diff changeset
    76
        Identifier.lookup("org.omg.CORBA.ORB");
02bb8761fcce Initial load
duke
parents:
diff changeset
    77
    public static final Identifier idClassDesc =
02bb8761fcce Initial load
duke
parents:
diff changeset
    78
        Identifier.lookup("javax.rmi.CORBA.ClassDesc");
02bb8761fcce Initial load
duke
parents:
diff changeset
    79
    public static final Identifier idJavaIoIOException =
02bb8761fcce Initial load
duke
parents:
diff changeset
    80
        Identifier.lookup("java.io.IOException");
02bb8761fcce Initial load
duke
parents:
diff changeset
    81
    public static final Identifier idIDLEntity =
02bb8761fcce Initial load
duke
parents:
diff changeset
    82
        Identifier.lookup("org.omg.CORBA.portable.IDLEntity");
02bb8761fcce Initial load
duke
parents:
diff changeset
    83
    public static final Identifier idValueBase =
02bb8761fcce Initial load
duke
parents:
diff changeset
    84
        Identifier.lookup("org.omg.CORBA.portable.ValueBase");
02bb8761fcce Initial load
duke
parents:
diff changeset
    85
    public static final Identifier idBoxedRMI =
02bb8761fcce Initial load
duke
parents:
diff changeset
    86
        Identifier.lookup("org.omg.boxedRMI");
02bb8761fcce Initial load
duke
parents:
diff changeset
    87
    public static final Identifier idBoxedIDL =
02bb8761fcce Initial load
duke
parents:
diff changeset
    88
        Identifier.lookup("org.omg.boxedIDL");
02bb8761fcce Initial load
duke
parents:
diff changeset
    89
    public static final Identifier idCorbaUserException =
02bb8761fcce Initial load
duke
parents:
diff changeset
    90
        Identifier.lookup("org.omg.CORBA.UserException");
02bb8761fcce Initial load
duke
parents:
diff changeset
    91
02bb8761fcce Initial load
duke
parents:
diff changeset
    92
02bb8761fcce Initial load
duke
parents:
diff changeset
    93
    // Identifiers for primitive types:
02bb8761fcce Initial load
duke
parents:
diff changeset
    94
02bb8761fcce Initial load
duke
parents:
diff changeset
    95
    public static final Identifier idBoolean =
02bb8761fcce Initial load
duke
parents:
diff changeset
    96
        Identifier.lookup("boolean");
02bb8761fcce Initial load
duke
parents:
diff changeset
    97
    public static final Identifier idByte =
02bb8761fcce Initial load
duke
parents:
diff changeset
    98
        Identifier.lookup("byte");
02bb8761fcce Initial load
duke
parents:
diff changeset
    99
    public static final Identifier idChar =
02bb8761fcce Initial load
duke
parents:
diff changeset
   100
        Identifier.lookup("char");
02bb8761fcce Initial load
duke
parents:
diff changeset
   101
    public static final Identifier idShort =
02bb8761fcce Initial load
duke
parents:
diff changeset
   102
        Identifier.lookup("short");
02bb8761fcce Initial load
duke
parents:
diff changeset
   103
    public static final Identifier idInt =
02bb8761fcce Initial load
duke
parents:
diff changeset
   104
        Identifier.lookup("int");
02bb8761fcce Initial load
duke
parents:
diff changeset
   105
    public static final Identifier idLong =
02bb8761fcce Initial load
duke
parents:
diff changeset
   106
        Identifier.lookup("long");
02bb8761fcce Initial load
duke
parents:
diff changeset
   107
    public static final Identifier idFloat =
02bb8761fcce Initial load
duke
parents:
diff changeset
   108
        Identifier.lookup("float");
02bb8761fcce Initial load
duke
parents:
diff changeset
   109
    public static final Identifier idDouble =
02bb8761fcce Initial load
duke
parents:
diff changeset
   110
        Identifier.lookup("double");
02bb8761fcce Initial load
duke
parents:
diff changeset
   111
    public static final Identifier idVoid =
02bb8761fcce Initial load
duke
parents:
diff changeset
   112
        Identifier.lookup("void");
02bb8761fcce Initial load
duke
parents:
diff changeset
   113
02bb8761fcce Initial load
duke
parents:
diff changeset
   114
    // IndentingWriter constructor args:
02bb8761fcce Initial load
duke
parents:
diff changeset
   115
02bb8761fcce Initial load
duke
parents:
diff changeset
   116
    public static final int INDENT_STEP = 4;
02bb8761fcce Initial load
duke
parents:
diff changeset
   117
    public static final int TAB_SIZE = Integer.MAX_VALUE; // No tabs.
02bb8761fcce Initial load
duke
parents:
diff changeset
   118
02bb8761fcce Initial load
duke
parents:
diff changeset
   119
    // Type status codes:
02bb8761fcce Initial load
duke
parents:
diff changeset
   120
02bb8761fcce Initial load
duke
parents:
diff changeset
   121
    public static final int STATUS_PENDING = 0;
02bb8761fcce Initial load
duke
parents:
diff changeset
   122
    public static final int STATUS_VALID = 1;
02bb8761fcce Initial load
duke
parents:
diff changeset
   123
    public static final int STATUS_INVALID = 2;
02bb8761fcce Initial load
duke
parents:
diff changeset
   124
02bb8761fcce Initial load
duke
parents:
diff changeset
   125
    // Java Names:
02bb8761fcce Initial load
duke
parents:
diff changeset
   126
02bb8761fcce Initial load
duke
parents:
diff changeset
   127
    public static final String NAME_SEPARATOR = ".";
02bb8761fcce Initial load
duke
parents:
diff changeset
   128
    public static final String SERIAL_VERSION_UID = "serialVersionUID";
02bb8761fcce Initial load
duke
parents:
diff changeset
   129
02bb8761fcce Initial load
duke
parents:
diff changeset
   130
    // IDL Names:
02bb8761fcce Initial load
duke
parents:
diff changeset
   131
02bb8761fcce Initial load
duke
parents:
diff changeset
   132
    public static final String[] IDL_KEYWORDS = {
02bb8761fcce Initial load
duke
parents:
diff changeset
   133
        "abstract",
02bb8761fcce Initial load
duke
parents:
diff changeset
   134
        "any",
02bb8761fcce Initial load
duke
parents:
diff changeset
   135
        "attribute",
02bb8761fcce Initial load
duke
parents:
diff changeset
   136
        "boolean",
02bb8761fcce Initial load
duke
parents:
diff changeset
   137
        "case",
02bb8761fcce Initial load
duke
parents:
diff changeset
   138
        "char",
02bb8761fcce Initial load
duke
parents:
diff changeset
   139
        "const",
02bb8761fcce Initial load
duke
parents:
diff changeset
   140
        "context",
02bb8761fcce Initial load
duke
parents:
diff changeset
   141
        "custom",
02bb8761fcce Initial load
duke
parents:
diff changeset
   142
        "default",
02bb8761fcce Initial load
duke
parents:
diff changeset
   143
        "double",
02bb8761fcce Initial load
duke
parents:
diff changeset
   144
        "enum",
02bb8761fcce Initial load
duke
parents:
diff changeset
   145
        "exception",
02bb8761fcce Initial load
duke
parents:
diff changeset
   146
        "factory",
02bb8761fcce Initial load
duke
parents:
diff changeset
   147
        "FALSE",
02bb8761fcce Initial load
duke
parents:
diff changeset
   148
        "fixed",
02bb8761fcce Initial load
duke
parents:
diff changeset
   149
        "float",
02bb8761fcce Initial load
duke
parents:
diff changeset
   150
        "in",
02bb8761fcce Initial load
duke
parents:
diff changeset
   151
        "inout",
02bb8761fcce Initial load
duke
parents:
diff changeset
   152
        "interface",
02bb8761fcce Initial load
duke
parents:
diff changeset
   153
        "long",
02bb8761fcce Initial load
duke
parents:
diff changeset
   154
        "module",
02bb8761fcce Initial load
duke
parents:
diff changeset
   155
        "native",
02bb8761fcce Initial load
duke
parents:
diff changeset
   156
        "Object",
02bb8761fcce Initial load
duke
parents:
diff changeset
   157
        "octet",
02bb8761fcce Initial load
duke
parents:
diff changeset
   158
        "oneway",
02bb8761fcce Initial load
duke
parents:
diff changeset
   159
        "out",
02bb8761fcce Initial load
duke
parents:
diff changeset
   160
        "private",
02bb8761fcce Initial load
duke
parents:
diff changeset
   161
        "public",
02bb8761fcce Initial load
duke
parents:
diff changeset
   162
        "raises",
02bb8761fcce Initial load
duke
parents:
diff changeset
   163
        "readonly",
02bb8761fcce Initial load
duke
parents:
diff changeset
   164
        "sequence",
02bb8761fcce Initial load
duke
parents:
diff changeset
   165
        "short",
02bb8761fcce Initial load
duke
parents:
diff changeset
   166
        "string",
02bb8761fcce Initial load
duke
parents:
diff changeset
   167
        "struct",
02bb8761fcce Initial load
duke
parents:
diff changeset
   168
        "supports",
02bb8761fcce Initial load
duke
parents:
diff changeset
   169
        "switch",
02bb8761fcce Initial load
duke
parents:
diff changeset
   170
        "TRUE",
02bb8761fcce Initial load
duke
parents:
diff changeset
   171
        "truncatable",
02bb8761fcce Initial load
duke
parents:
diff changeset
   172
        "typedef",
02bb8761fcce Initial load
duke
parents:
diff changeset
   173
        "unsigned",
02bb8761fcce Initial load
duke
parents:
diff changeset
   174
        "union",
02bb8761fcce Initial load
duke
parents:
diff changeset
   175
        "ValueBase",
02bb8761fcce Initial load
duke
parents:
diff changeset
   176
        "valuetype",
02bb8761fcce Initial load
duke
parents:
diff changeset
   177
        "void",
02bb8761fcce Initial load
duke
parents:
diff changeset
   178
        "wchar",
02bb8761fcce Initial load
duke
parents:
diff changeset
   179
        "wstring",
02bb8761fcce Initial load
duke
parents:
diff changeset
   180
    };
02bb8761fcce Initial load
duke
parents:
diff changeset
   181
02bb8761fcce Initial load
duke
parents:
diff changeset
   182
02bb8761fcce Initial load
duke
parents:
diff changeset
   183
    public static final String EXCEPTION_SUFFIX = "Exception";
02bb8761fcce Initial load
duke
parents:
diff changeset
   184
    public static final String ERROR_SUFFIX = "Error";
02bb8761fcce Initial load
duke
parents:
diff changeset
   185
    public static final String EX_SUFFIX = "Ex";
02bb8761fcce Initial load
duke
parents:
diff changeset
   186
02bb8761fcce Initial load
duke
parents:
diff changeset
   187
    public static final String IDL_REPOSITORY_ID_PREFIX = "IDL:";
02bb8761fcce Initial load
duke
parents:
diff changeset
   188
    public static final String IDL_REPOSITORY_ID_VERSION = ":1.0";
02bb8761fcce Initial load
duke
parents:
diff changeset
   189
02bb8761fcce Initial load
duke
parents:
diff changeset
   190
    public static final String[]  IDL_CORBA_MODULE = {"CORBA"};
02bb8761fcce Initial load
duke
parents:
diff changeset
   191
    public static final String[]  IDL_SEQUENCE_MODULE = {"org","omg","boxedRMI"};
02bb8761fcce Initial load
duke
parents:
diff changeset
   192
    public static final String[]  IDL_BOXEDIDL_MODULE = {"org","omg","boxedIDL"};
02bb8761fcce Initial load
duke
parents:
diff changeset
   193
02bb8761fcce Initial load
duke
parents:
diff changeset
   194
    public static final String    IDL_CLASS = "ClassDesc";
02bb8761fcce Initial load
duke
parents:
diff changeset
   195
    public static final String[]  IDL_CLASS_MODULE = {"javax","rmi","CORBA"};
02bb8761fcce Initial load
duke
parents:
diff changeset
   196
02bb8761fcce Initial load
duke
parents:
diff changeset
   197
    public static final String    IDL_IDLENTITY = "IDLEntity";
02bb8761fcce Initial load
duke
parents:
diff changeset
   198
    public static final String    IDL_SERIALIZABLE = "Serializable";
02bb8761fcce Initial load
duke
parents:
diff changeset
   199
    public static final String    IDL_EXTERNALIZABLE = "Externalizable";
02bb8761fcce Initial load
duke
parents:
diff changeset
   200
    public static final String[]  IDL_JAVA_IO_MODULE = {"java","io"};
02bb8761fcce Initial load
duke
parents:
diff changeset
   201
    public static final String[]  IDL_ORG_OMG_CORBA_MODULE = {"org","omg","CORBA"};
02bb8761fcce Initial load
duke
parents:
diff changeset
   202
    public static final String[]  IDL_ORG_OMG_CORBA_PORTABLE_MODULE = {"org","omg","CORBA","portable"};
02bb8761fcce Initial load
duke
parents:
diff changeset
   203
02bb8761fcce Initial load
duke
parents:
diff changeset
   204
    public static final String    IDL_JAVA_LANG_OBJECT = "_Object";
02bb8761fcce Initial load
duke
parents:
diff changeset
   205
    public static final String[]  IDL_JAVA_LANG_MODULE = {"java","lang"};
02bb8761fcce Initial load
duke
parents:
diff changeset
   206
02bb8761fcce Initial load
duke
parents:
diff changeset
   207
    public static final String    IDL_JAVA_RMI_REMOTE = "Remote";
02bb8761fcce Initial load
duke
parents:
diff changeset
   208
    public static final String[]  IDL_JAVA_RMI_MODULE = {"java","rmi"};
02bb8761fcce Initial load
duke
parents:
diff changeset
   209
02bb8761fcce Initial load
duke
parents:
diff changeset
   210
    public static final String  IDL_SEQUENCE = "seq";
02bb8761fcce Initial load
duke
parents:
diff changeset
   211
02bb8761fcce Initial load
duke
parents:
diff changeset
   212
    public static final String  IDL_CONSTRUCTOR = "create";
02bb8761fcce Initial load
duke
parents:
diff changeset
   213
02bb8761fcce Initial load
duke
parents:
diff changeset
   214
    public static final String  IDL_NAME_SEPARATOR = "::";
02bb8761fcce Initial load
duke
parents:
diff changeset
   215
    public static final String  IDL_BOOLEAN = "boolean";
02bb8761fcce Initial load
duke
parents:
diff changeset
   216
    public static final String  IDL_BYTE = "octet";
02bb8761fcce Initial load
duke
parents:
diff changeset
   217
    public static final String  IDL_CHAR = "wchar";
02bb8761fcce Initial load
duke
parents:
diff changeset
   218
    public static final String  IDL_SHORT = "short";
02bb8761fcce Initial load
duke
parents:
diff changeset
   219
    public static final String  IDL_INT = "long";
02bb8761fcce Initial load
duke
parents:
diff changeset
   220
    public static final String  IDL_LONG = "long long";
02bb8761fcce Initial load
duke
parents:
diff changeset
   221
    public static final String  IDL_FLOAT = "float";
02bb8761fcce Initial load
duke
parents:
diff changeset
   222
    public static final String  IDL_DOUBLE = "double";
02bb8761fcce Initial load
duke
parents:
diff changeset
   223
    public static final String  IDL_VOID = "void";
02bb8761fcce Initial load
duke
parents:
diff changeset
   224
02bb8761fcce Initial load
duke
parents:
diff changeset
   225
    public static final String  IDL_STRING = "WStringValue";
02bb8761fcce Initial load
duke
parents:
diff changeset
   226
    public static final String  IDL_CONSTANT_STRING = "wstring";
02bb8761fcce Initial load
duke
parents:
diff changeset
   227
    public static final String  IDL_CORBA_OBJECT = "Object";
02bb8761fcce Initial load
duke
parents:
diff changeset
   228
    public static final String  IDL_ANY = "any";
02bb8761fcce Initial load
duke
parents:
diff changeset
   229
02bb8761fcce Initial load
duke
parents:
diff changeset
   230
    // File names:
02bb8761fcce Initial load
duke
parents:
diff changeset
   231
02bb8761fcce Initial load
duke
parents:
diff changeset
   232
    public static final String SOURCE_FILE_EXTENSION = ".java";
02bb8761fcce Initial load
duke
parents:
diff changeset
   233
    public static final String IDL_FILE_EXTENSION = ".idl";
02bb8761fcce Initial load
duke
parents:
diff changeset
   234
02bb8761fcce Initial load
duke
parents:
diff changeset
   235
    // Type Codes:
02bb8761fcce Initial load
duke
parents:
diff changeset
   236
02bb8761fcce Initial load
duke
parents:
diff changeset
   237
    public static final int TYPE_VOID                   = 0x00000001;   // In PrimitiveType
02bb8761fcce Initial load
duke
parents:
diff changeset
   238
    public static final int TYPE_BOOLEAN                = 0x00000002;   // In PrimitiveType
02bb8761fcce Initial load
duke
parents:
diff changeset
   239
    public static final int TYPE_BYTE                   = 0x00000004;   // In PrimitiveType
02bb8761fcce Initial load
duke
parents:
diff changeset
   240
    public static final int TYPE_CHAR                   = 0x00000008;   // In PrimitiveType
02bb8761fcce Initial load
duke
parents:
diff changeset
   241
    public static final int TYPE_SHORT                  = 0x00000010;   // In PrimitiveType
02bb8761fcce Initial load
duke
parents:
diff changeset
   242
    public static final int TYPE_INT                    = 0x00000020;   // In PrimitiveType
02bb8761fcce Initial load
duke
parents:
diff changeset
   243
    public static final int TYPE_LONG                   = 0x00000040;   // In PrimitiveType
02bb8761fcce Initial load
duke
parents:
diff changeset
   244
    public static final int TYPE_FLOAT                  = 0x00000080;   // In PrimitiveType
02bb8761fcce Initial load
duke
parents:
diff changeset
   245
    public static final int TYPE_DOUBLE                 = 0x00000100;   // In PrimitiveType
02bb8761fcce Initial load
duke
parents:
diff changeset
   246
02bb8761fcce Initial load
duke
parents:
diff changeset
   247
    public static final int TYPE_STRING                 = 0x00000200;   // In SpecialClassType (String)
02bb8761fcce Initial load
duke
parents:
diff changeset
   248
    public static final int TYPE_ANY                    = 0x00000400;   // In SpecialInterfaceType (Serializable,Externalizable)
02bb8761fcce Initial load
duke
parents:
diff changeset
   249
    public static final int TYPE_CORBA_OBJECT   = 0x00000800;   // In SpecialInterfaceType (CORBA.Object,Remote)
02bb8761fcce Initial load
duke
parents:
diff changeset
   250
02bb8761fcce Initial load
duke
parents:
diff changeset
   251
    public static final int TYPE_REMOTE                 = 0x00001000;   // In RemoteType
02bb8761fcce Initial load
duke
parents:
diff changeset
   252
    public static final int TYPE_ABSTRACT               = 0x00002000;   // In AbstractType
02bb8761fcce Initial load
duke
parents:
diff changeset
   253
    public static final int TYPE_NC_INTERFACE   = 0x00004000;   // In NCInterfaceType
02bb8761fcce Initial load
duke
parents:
diff changeset
   254
02bb8761fcce Initial load
duke
parents:
diff changeset
   255
    public static final int TYPE_VALUE                  = 0x00008000;   // In ValueType
02bb8761fcce Initial load
duke
parents:
diff changeset
   256
    public static final int TYPE_IMPLEMENTATION = 0x00010000;   // In ImplementationType
02bb8761fcce Initial load
duke
parents:
diff changeset
   257
    public static final int TYPE_NC_CLASS               = 0x00020000;   // In NCClassType
02bb8761fcce Initial load
duke
parents:
diff changeset
   258
02bb8761fcce Initial load
duke
parents:
diff changeset
   259
    public static final int TYPE_ARRAY                  = 0x00040000;   // In ArrayType
02bb8761fcce Initial load
duke
parents:
diff changeset
   260
    public static final int TYPE_JAVA_RMI_REMOTE = 0x00080000;  // In SpecialInterfaceType
02bb8761fcce Initial load
duke
parents:
diff changeset
   261
02bb8761fcce Initial load
duke
parents:
diff changeset
   262
    // Type code masks:
02bb8761fcce Initial load
duke
parents:
diff changeset
   263
02bb8761fcce Initial load
duke
parents:
diff changeset
   264
    public static final int TYPE_NONE                   = 0x00000000;
02bb8761fcce Initial load
duke
parents:
diff changeset
   265
    public static final int TYPE_ALL                    = 0xFFFFFFFF;
02bb8761fcce Initial load
duke
parents:
diff changeset
   266
    public static final int TYPE_MASK                   = 0x00FFFFFF;
02bb8761fcce Initial load
duke
parents:
diff changeset
   267
    public static final int TM_MASK                             = 0xFF000000;
02bb8761fcce Initial load
duke
parents:
diff changeset
   268
02bb8761fcce Initial load
duke
parents:
diff changeset
   269
    // Type code modifiers:
02bb8761fcce Initial load
duke
parents:
diff changeset
   270
02bb8761fcce Initial load
duke
parents:
diff changeset
   271
    public static final int TM_PRIMITIVE                = 0x01000000;
02bb8761fcce Initial load
duke
parents:
diff changeset
   272
    public static final int TM_COMPOUND                 = 0x02000000;
02bb8761fcce Initial load
duke
parents:
diff changeset
   273
    public static final int TM_CLASS                    = 0x04000000;
02bb8761fcce Initial load
duke
parents:
diff changeset
   274
    public static final int TM_INTERFACE                = 0x08000000;
02bb8761fcce Initial load
duke
parents:
diff changeset
   275
    public static final int TM_SPECIAL_CLASS    = 0x10000000;
02bb8761fcce Initial load
duke
parents:
diff changeset
   276
    public static final int TM_SPECIAL_INTERFACE= 0x20000000;
02bb8761fcce Initial load
duke
parents:
diff changeset
   277
    public static final int TM_NON_CONFORMING   = 0x40000000;
02bb8761fcce Initial load
duke
parents:
diff changeset
   278
    public static final int TM_INNER            = 0x80000000;
02bb8761fcce Initial load
duke
parents:
diff changeset
   279
02bb8761fcce Initial load
duke
parents:
diff changeset
   280
    // Attribute kinds...
02bb8761fcce Initial load
duke
parents:
diff changeset
   281
02bb8761fcce Initial load
duke
parents:
diff changeset
   282
    public static final int ATTRIBUTE_NONE = 0;     // Not an attribute.
02bb8761fcce Initial load
duke
parents:
diff changeset
   283
    public static final int ATTRIBUTE_IS = 1;       // read-only, had "is" prefix.
02bb8761fcce Initial load
duke
parents:
diff changeset
   284
    public static final int ATTRIBUTE_GET = 2;      // read-only, had "get" prefix.
02bb8761fcce Initial load
duke
parents:
diff changeset
   285
    public static final int ATTRIBUTE_IS_RW = 3;    // read-write, had "is" prefix.
02bb8761fcce Initial load
duke
parents:
diff changeset
   286
    public static final int ATTRIBUTE_GET_RW = 4;   // read-write, had "get" prefix.
02bb8761fcce Initial load
duke
parents:
diff changeset
   287
    public static final int ATTRIBUTE_SET = 5;      // had "set" prefix.
02bb8761fcce Initial load
duke
parents:
diff changeset
   288
02bb8761fcce Initial load
duke
parents:
diff changeset
   289
    public static final String[] ATTRIBUTE_WIRE_PREFIX = {
02bb8761fcce Initial load
duke
parents:
diff changeset
   290
        "",
02bb8761fcce Initial load
duke
parents:
diff changeset
   291
        "_get_",
02bb8761fcce Initial load
duke
parents:
diff changeset
   292
        "_get_",
02bb8761fcce Initial load
duke
parents:
diff changeset
   293
        "_get_",
02bb8761fcce Initial load
duke
parents:
diff changeset
   294
        "_get_",
02bb8761fcce Initial load
duke
parents:
diff changeset
   295
        "_set_",
02bb8761fcce Initial load
duke
parents:
diff changeset
   296
    };
02bb8761fcce Initial load
duke
parents:
diff changeset
   297
}