KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA_2_3 > portable > OutputStream


1 /*
2  * @(#)OutputStream.java 1.16 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 /*
8  * Licensed Materials - Property of IBM
9  * RMI-IIOP v1.0
10  * Copyright IBM Corp. 1998 1999 All Rights Reserved
11  *
12  * US Government Users Restricted Rights - Use, duplication or
13  * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
14  */

15
16 package org.omg.CORBA_2_3.portable;
17
18 /**
19  * OutputStream provides interface for writing of all of the mapped IDL type
20  * to the stream. It extends org.omg.CORBA.portable.OutputStream, and defines
21  * new methods defined by CORBA 2.3.
22  *
23  * @see org.omg.CORBA.portable.OutputStream
24  * @author OMG
25  * @version 1.16 12/19/03
26  * @since JDK1.2
27  */

28
29 public abstract class OutputStream extends org.omg.CORBA.portable.OutputStream JavaDoc {
30
31     /**
32      * Marshals a value type to the output stream.
33      * @param value is the acutal value to write
34      */

35     public void write_value(java.io.Serializable JavaDoc value) {
36         throw new org.omg.CORBA.NO_IMPLEMENT JavaDoc();
37     }
38
39     /**
40      * Marshals a value type to the output stream.
41      * @param value is the acutal value to write
42      * @param clz is the declared type of the value to be marshaled
43      */

44     public void write_value(java.io.Serializable JavaDoc value, java.lang.Class JavaDoc clz) {
45         throw new org.omg.CORBA.NO_IMPLEMENT JavaDoc();
46     }
47
48     /**
49      * Marshals a value type to the output stream.
50      * @param value is the acutal value to write
51      * @param repository_id identifies the type of the value type to
52      * be marshaled
53      */

54     public void write_value(java.io.Serializable JavaDoc value, String JavaDoc repository_id) {
55         throw new org.omg.CORBA.NO_IMPLEMENT JavaDoc();
56     }
57
58     /**
59      * Marshals a value type to the output stream.
60      * @param value is the acutal value to write
61      * @param factory is the instance of the helper to be used for marshaling
62      * the boxed value
63      */

64     public void write_value(java.io.Serializable JavaDoc value, org.omg.CORBA.portable.BoxedValueHelper JavaDoc factory) {
65         throw new org.omg.CORBA.NO_IMPLEMENT JavaDoc();
66     }
67
68     /**
69      * Marshals a value object or a stub object.
70      * @param obj the actual value object to marshal or the stub to be marshalled
71      */

72     public void write_abstract_interface(java.lang.Object JavaDoc obj) {
73         throw new org.omg.CORBA.NO_IMPLEMENT JavaDoc();
74     }
75
76 }
77
Popular Tags