1 package org.omg.CORBA.ORBPackage; 2 3 4 public final class ObjectIdHelper 5 { 6 private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_alias_tc( org.omg.CORBA.ORBPackage.ObjectIdHelper.id(), "ObjectId",org.omg.CORBA.ORB.init().create_string_tc(0) ); 7 public static void insert (org.omg.CORBA.Any any, java.lang.String s) 8 { 9 any.type (type ()); 10 write (any.create_output_stream (), s); 11 } 12 public static java.lang.String extract (final org.omg.CORBA.Any any) 13 { 14 return read (any.create_input_stream ()); 15 } 16 public static org.omg.CORBA.TypeCode type () 17 { 18 return _type; 19 } 20 public static String id() 21 { 22 return "IDL:omg.org/CORBA/ORB/ObjectId:1.0"; 23 } 24 public static java.lang.String read (final org.omg.CORBA.portable.InputStream _in) 25 { 26 java.lang.String _result; 27 _result=_in.read_string(); 28 return _result; 29 } 30 public static void write (final org.omg.CORBA.portable.OutputStream _out, java.lang.String _s) 31 { 32 _out.write_string(_s); 33 } 34 } 35 | Popular Tags |