1. /*
  2. * %W% %E%
  3. *
  4. * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. /*
  11. * Licensed Materials - Property of IBM
  12. * RMI-IIOP v1.0
  13. * Copyright IBM Corp. 1998 1999 All Rights Reserved
  14. *
  15. * US Government Users Restricted Rights - Use, duplication or
  16. * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  17. */
  18. package org.omg.CORBA_2_3.portable;
  19. /**
  20. * OutputStream provides interface for writing of all of the mapped IDL type
  21. * to the stream. It extends org.omg.CORBA.portable.OutputStream, and defines
  22. * new methods defined by CORBA 2.3.
  23. *
  24. * @see org.omg.CORBA.portable.OutputStream
  25. * @author OMG
  26. * @version %I% %G%
  27. * @since JDK1.2
  28. */
  29. public abstract class OutputStream extends org.omg.CORBA.portable.OutputStream {
  30. /**
  31. * marshals a value type to the output stream.
  32. * @param value is the acutal value to write
  33. */
  34. public void write_value(java.io.Serializable value) {
  35. throw new org.omg.CORBA.NO_IMPLEMENT();
  36. }
  37. /**
  38. * marshals a value type to the output stream.
  39. * @param value is the acutal value to write
  40. * @param clz is the declared type of the value to be marshaled
  41. */
  42. public void write_value(java.io.Serializable value, java.lang.Class clz) {
  43. throw new org.omg.CORBA.NO_IMPLEMENT();
  44. }
  45. /**
  46. * marshals a value type to the output stream.
  47. * @param value is the acutal value to write
  48. * @param repository_id identifies the type of the value type to
  49. * be marshaled
  50. */
  51. public void write_value(java.io.Serializable value, String repository_id) {
  52. throw new org.omg.CORBA.NO_IMPLEMENT();
  53. }
  54. /**
  55. * marshals a value type to the output stream.
  56. * @param value is the acutal value to write
  57. * @param factory is the instance of the helper to be used for marshaling
  58. * the boxed value
  59. */
  60. public void write_value(java.io.Serializable value, org.omg.CORBA.portable.BoxedValueHelper factory) {
  61. throw new org.omg.CORBA.NO_IMPLEMENT();
  62. }
  63. /**
  64. * marshals a value object or a stub object.
  65. * @param the actual value object or the stub to marshal to be marshalled
  66. */
  67. public void write_abstract_interface(java.lang.Object obj) {
  68. throw new org.omg.CORBA.NO_IMPLEMENT();
  69. }
  70. }