2362N/A * Copyright (c) 1996, 2006, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * Constants written into the Object Serialization Stream. 0N/A * @author unascribed 0N/A * Magic number that is written to the stream header. 0N/A * Version number that is written to the stream header. 0N/A /* Each item in the stream is preceded by a tag 0N/A * Null object reference. 0N/A * Reference to an object already written into the stream. 0N/A * new Class Descriptor. 0N/A * Reference to Class. 0N/A * Block of optional data. Byte following tag indicates number 0N/A * of bytes in this block data. 0N/A * End of optional block data blocks for an object. 0N/A * Reset stream context. All handles written into stream are reset. 0N/A * long Block data. The long following the tag indicates the 0N/A * number of bytes in this block data. 0N/A * Exception during write. 0N/A * new Proxy Class Descriptor. 0N/A * new Enum constant. 0N/A * First wire handle to be assigned. 0N/A /******************************************************/ 0N/A /* Bit masks for ObjectStreamClass flag.*/ 0N/A * Bit mask for ObjectStreamClass flag. Indicates a Serializable class 0N/A * defines its own writeObject method. 0N/A * Bit mask for ObjectStreamClass flag. Indicates Externalizable data 0N/A * written in Block Data mode. 0N/A * Added for PROTOCOL_VERSION_2. 0N/A * @see #PROTOCOL_VERSION_2 0N/A * Bit mask for ObjectStreamClass flag. Indicates class is Serializable. 0N/A * Bit mask for ObjectStreamClass flag. Indicates class is Externalizable. 0N/A * Bit mask for ObjectStreamClass flag. Indicates class is an enum type. 0N/A /* *******************************************************************/ 0N/A /* Security permissions */ 0N/A * Enable substitution of one object for another during 0N/A * @see java.io.ObjectOutputStream#enableReplaceObject(boolean) 0N/A * @see java.io.ObjectInputStream#enableResolveObject(boolean) 0N/A * Enable overriding of readObject and writeObject. 0N/A * @see java.io.ObjectOutputStream#writeObjectOverride(Object) 0N/A * @see java.io.ObjectInputStream#readObjectOverride() 0N/A * A Stream Protocol Version. <p> 0N/A * All externalizable data is written in JDK 1.1 external data 0N/A * format after calling this method. This version is needed to write 0N/A * streams containing Externalizable data that can be read by 0N/A * pre-JDK 1.1.6 JVMs. 0N/A * @see java.io.ObjectOutputStream#useProtocolVersion(int) 0N/A * A Stream Protocol Version. <p> 0N/A * This protocol is written by JVM 1.2. 0N/A * Externalizable data is written in block data mode and is 0N/A * terminated with TC_ENDBLOCKDATA. Externalizable classdescriptor 0N/A * flags has SC_BLOCK_DATA enabled. JVM 1.1.6 and greater can 0N/A * read this format change. 0N/A * Enables writing a nonSerializable class descriptor into the 0N/A * stream. The serialVersionUID of a nonSerializable class is 0N/A * @see java.io.ObjectOutputStream#useProtocolVersion(int) 0N/A * @see #SC_BLOCK_DATA