Tue, 25 May 2010 15:52:11 -0700
6943119: Rebrand source copyright notices
Reviewed-by: darcy
1 /*
2 * Copyright (c) 1998, 2000, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25 /*
26 * Licensed Materials - Property of IBM
27 * RMI-IIOP v1.0
28 * Copyright IBM Corp. 1998 1999 All Rights Reserved
29 *
30 */
32 package org.omg.CORBA_2_3.portable;
34 /**
35 * OutputStream provides interface for writing of all of the mapped IDL type
36 * to the stream. It extends org.omg.CORBA.portable.OutputStream, and defines
37 * new methods defined by CORBA 2.3.
38 *
39 * @see org.omg.CORBA.portable.OutputStream
40 * @author OMG
41 * @since JDK1.2
42 */
44 public abstract class OutputStream extends org.omg.CORBA.portable.OutputStream {
46 /**
47 * Marshals a value type to the output stream.
48 * @param value is the acutal value to write
49 */
50 public void write_value(java.io.Serializable value) {
51 throw new org.omg.CORBA.NO_IMPLEMENT();
52 }
54 /**
55 * Marshals a value type to the output stream.
56 * @param value is the acutal value to write
57 * @param clz is the declared type of the value to be marshaled
58 */
59 public void write_value(java.io.Serializable value, java.lang.Class clz) {
60 throw new org.omg.CORBA.NO_IMPLEMENT();
61 }
63 /**
64 * Marshals a value type to the output stream.
65 * @param value is the acutal value to write
66 * @param repository_id identifies the type of the value type to
67 * be marshaled
68 */
69 public void write_value(java.io.Serializable value, String repository_id) {
70 throw new org.omg.CORBA.NO_IMPLEMENT();
71 }
73 /**
74 * Marshals a value type to the output stream.
75 * @param value is the acutal value to write
76 * @param factory is the instance of the helper to be used for marshaling
77 * the boxed value
78 */
79 public void write_value(java.io.Serializable value, org.omg.CORBA.portable.BoxedValueHelper factory) {
80 throw new org.omg.CORBA.NO_IMPLEMENT();
81 }
83 /**
84 * Marshals a value object or a stub object.
85 * @param obj the actual value object to marshal or the stub to be marshalled
86 */
87 public void write_abstract_interface(java.lang.Object obj) {
88 throw new org.omg.CORBA.NO_IMPLEMENT();
89 }
91 }