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

Print this page




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




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