public abstract class OutputStream extends OutputStream
OutputStream provides interface for writing of all of the mapped IDL type to the stream. It extends org.omg.CORBA.portable.OutputStream, and defines new methods defined by CORBA 2.3.
OutputStream
public OutputStream()
Create a new instance of this class. throw SecurityException if SecurityManager is installed and enableSubclassImplementation SerializablePermission is not granted or jdk.corba.allowOutputStreamSubclass system property is either not set or is set to 'false'
public void write_value(Serializable value)
Marshals a value type to the output stream.
value
- is the acutal value to writepublic void write_value(Serializable value, Class clz)
Marshals a value type to the output stream.
value
- is the acutal value to writeclz
- is the declared type of the value to be marshaledpublic void write_value(Serializable value, String repository_id)
Marshals a value type to the output stream.
value
- is the acutal value to writerepository_id
- identifies the type of the value type to be marshaledpublic void write_value(Serializable value, BoxedValueHelper factory)
Marshals a value type to the output stream.
value
- is the acutal value to writefactory
- is the instance of the helper to be used for marshaling the boxed valuepublic void write_abstract_interface(Object obj)
Marshals a value object or a stub object.
obj
- the actual value object to marshal or the stub to be marshalled
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.