1. /*
  2. * @(#)OutputStream.java 1.15 03/01/23
  3. *
  4. * Copyright 2003 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. package org.omg.CORBA_2_3.portable;
  16. /**
  17. * OutputStream provides interface for writing of all of the mapped IDL type
  18. * to the stream. It extends org.omg.CORBA.portable.OutputStream, and defines
  19. * new methods defined by CORBA 2.3.
  20. *
  21. * @see org.omg.CORBA.portable.OutputStream
  22. * @author OMG
  23. * @version 1.15 01/23/03
  24. * @since JDK1.2
  25. */
  26. public abstract class OutputStream extends org.omg.CORBA.portable.OutputStream {
  27. /**
  28. * Marshals a value type to the output stream.
  29. * @param value is the acutal value to write
  30. */
  31. public void write_value(java.io.Serializable value) {
  32. throw new org.omg.CORBA.NO_IMPLEMENT();
  33. }
  34. /**
  35. * Marshals a value type to the output stream.
  36. * @param value is the acutal value to write
  37. * @param clz is the declared type of the value to be marshaled
  38. */
  39. public void write_value(java.io.Serializable value, java.lang.Class clz) {
  40. throw new org.omg.CORBA.NO_IMPLEMENT();
  41. }
  42. /**
  43. * Marshals a value type to the output stream.
  44. * @param value is the acutal value to write
  45. * @param repository_id identifies the type of the value type to
  46. * be marshaled
  47. */
  48. public void write_value(java.io.Serializable value, String repository_id) {
  49. throw new org.omg.CORBA.NO_IMPLEMENT();
  50. }
  51. /**
  52. * Marshals a value type to the output stream.
  53. * @param value is the acutal value to write
  54. * @param factory is the instance of the helper to be used for marshaling
  55. * the boxed value
  56. */
  57. public void write_value(java.io.Serializable value, org.omg.CORBA.portable.BoxedValueHelper factory) {
  58. throw new org.omg.CORBA.NO_IMPLEMENT();
  59. }
  60. /**
  61. * Marshals a value object or a stub object.
  62. * @param obj the actual value object to marshal or the stub to be marshalled
  63. */
  64. public void write_abstract_interface(java.lang.Object obj) {
  65. throw new org.omg.CORBA.NO_IMPLEMENT();
  66. }
  67. }