src/share/classes/org/omg/CORBA/StringValueHelper.java

Print this page




  27  * RMI-IIOP v1.0
  28  * Copyright IBM Corp. 1998 1999  All Rights Reserved
  29  *
  30  */
  31 
  32 package org.omg.CORBA;
  33 
  34 /**
  35 * The Helper for <tt>StringValue</tt>.  For more information on
  36 * Helper files, see <a href="doc-files/generatedfiles.html#helper">
  37 * "Generated Files: Helper Files"</a>.<P>
  38 * org/omg/CORBA/StringValueHelper.java
  39 * Generated by the IDL-to-Java compiler (portable), version "3.0"
  40 * from orb.idl
  41 * 31 May 1999 22:27:30 o'clock GMT+00:00
  42 *
  43 * The class definition has been modified to conform to the following
  44 * OMG specifications :
  45 *   <ul>
  46 *       <li> ORB core as defined by CORBA 2.3.1
  47 *       (<a href="http://cgi.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
  48 *       </li>
  49 *
  50 *       <li> IDL/Java Language Mapping as defined in
  51 *       <a href="http://cgi.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
  52 *       </li>
  53 *   </ul>
  54 */
  55 
  56 public class StringValueHelper implements org.omg.CORBA.portable.BoxedValueHelper
  57 {
  58     private static String  _id = "IDL:omg.org/CORBA/StringValue:1.0";
  59 
  60   private static StringValueHelper _instance = new StringValueHelper ();
  61 
  62     public static void insert (org.omg.CORBA.Any a, String that)
  63     {
  64         org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
  65         a.type (type ());
  66         write (out, that);
  67         a.read_value (out.create_input_stream (), type ());
  68     }
  69 
  70     public static String extract (org.omg.CORBA.Any a)
  71     {




  27  * RMI-IIOP v1.0
  28  * Copyright IBM Corp. 1998 1999  All Rights Reserved
  29  *
  30  */
  31 
  32 package org.omg.CORBA;
  33 
  34 /**
  35 * The Helper for <tt>StringValue</tt>.  For more information on
  36 * Helper files, see <a href="doc-files/generatedfiles.html#helper">
  37 * "Generated Files: Helper Files"</a>.<P>
  38 * org/omg/CORBA/StringValueHelper.java
  39 * Generated by the IDL-to-Java compiler (portable), version "3.0"
  40 * from orb.idl
  41 * 31 May 1999 22:27:30 o'clock GMT+00:00
  42 *
  43 * The class definition has been modified to conform to the following
  44 * OMG specifications :
  45 *   <ul>
  46 *       <li> ORB core as defined by CORBA 2.3.1
  47 *       (<a href="http://www.omg.org/cgi-bin/doc?formal/99-10-07">formal/99-10-07</a>)
  48 *       </li>
  49 *
  50 *       <li> IDL/Java Language Mapping as defined in
  51 *       <a href="http://www.omg.org/cgi-bin/doc?ptc/00-01-08">ptc/00-01-08</a>
  52 *       </li>
  53 *   </ul>
  54 */
  55 
  56 public class StringValueHelper implements org.omg.CORBA.portable.BoxedValueHelper
  57 {
  58     private static String  _id = "IDL:omg.org/CORBA/StringValue:1.0";
  59 
  60   private static StringValueHelper _instance = new StringValueHelper ();
  61 
  62     public static void insert (org.omg.CORBA.Any a, String that)
  63     {
  64         org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
  65         a.type (type ());
  66         write (out, that);
  67         a.read_value (out.create_input_stream (), type ());
  68     }
  69 
  70     public static String extract (org.omg.CORBA.Any a)
  71     {