Java™ Platform
Standard Ed. 8
org.omg.CORBA_2_3.portable

Class OutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable


    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.
    Since:
    JDK1.2
    See Also:
    OutputStream
    • Constructor Detail

      • 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'
    • Method Detail

      • write_value

        public void write_value(Serializable value)
        Marshals a value type to the output stream.
        Parameters:
        value - is the acutal value to write
      • write_value

        public void write_value(Serializable value,
                                Class clz)
        Marshals a value type to the output stream.
        Parameters:
        value - is the acutal value to write
        clz - is the declared type of the value to be marshaled
      • write_value

        public void write_value(Serializable value,
                                String repository_id)
        Marshals a value type to the output stream.
        Parameters:
        value - is the acutal value to write
        repository_id - identifies the type of the value type to be marshaled
      • write_value

        public void write_value(Serializable value,
                                BoxedValueHelper factory)
        Marshals a value type to the output stream.
        Parameters:
        value - is the acutal value to write
        factory - is the instance of the helper to be used for marshaling the boxed value
      • write_abstract_interface

        public void write_abstract_interface(Object obj)
        Marshals a value object or a stub object.
        Parameters:
        obj - the actual value object to marshal or the stub to be marshalled
Java™ Platform
Standard Ed. 8

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部