1. package org.omg.PortableInterceptor;
  2. /**
  3. * org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.2"
  5. * from ../../../../src/share/classes/org/omg/PortableInterceptor/Interceptors.idl
  6. * Wednesday, September 15, 2004 10:28:46 AM GMT
  7. */
  8. abstract public class IORInterceptor_3_0Helper
  9. {
  10. private static String _id = "IDL:omg.org/PortableInterceptor/IORInterceptor_3_0:1.0";
  11. public static void insert (org.omg.CORBA.Any a, org.omg.PortableInterceptor.IORInterceptor_3_0 that)
  12. {
  13. org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
  14. a.type (type ());
  15. write (out, that);
  16. a.read_value (out.create_input_stream (), type ());
  17. }
  18. public static org.omg.PortableInterceptor.IORInterceptor_3_0 extract (org.omg.CORBA.Any a)
  19. {
  20. return read (a.create_input_stream ());
  21. }
  22. private static org.omg.CORBA.TypeCode __typeCode = null;
  23. synchronized public static org.omg.CORBA.TypeCode type ()
  24. {
  25. if (__typeCode == null)
  26. {
  27. __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.omg.PortableInterceptor.IORInterceptor_3_0Helper.id (), "IORInterceptor_3_0");
  28. }
  29. return __typeCode;
  30. }
  31. public static String id ()
  32. {
  33. return _id;
  34. }
  35. public static org.omg.PortableInterceptor.IORInterceptor_3_0 read (org.omg.CORBA.portable.InputStream istream)
  36. {
  37. throw new org.omg.CORBA.MARSHAL ();
  38. }
  39. public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.PortableInterceptor.IORInterceptor_3_0 value)
  40. {
  41. throw new org.omg.CORBA.MARSHAL ();
  42. }
  43. public static org.omg.PortableInterceptor.IORInterceptor_3_0 narrow (org.omg.CORBA.Object obj)
  44. {
  45. if (obj == null)
  46. return null;
  47. else if (obj instanceof org.omg.PortableInterceptor.IORInterceptor_3_0)
  48. return (org.omg.PortableInterceptor.IORInterceptor_3_0)obj;
  49. else
  50. throw new org.omg.CORBA.BAD_PARAM ();
  51. }
  52. public static org.omg.PortableInterceptor.IORInterceptor_3_0 unchecked_narrow (org.omg.CORBA.Object obj)
  53. {
  54. if (obj == null)
  55. return null;
  56. else if (obj instanceof org.omg.PortableInterceptor.IORInterceptor_3_0)
  57. return (org.omg.PortableInterceptor.IORInterceptor_3_0)obj;
  58. else
  59. throw new org.omg.CORBA.BAD_PARAM ();
  60. }
  61. }