⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xmlreceiverhelper.java

📁 使用方法: 实例程序的运行: 每个实例下都有本实例的.xml文件或.html文件或.xsl文件
💻 JAVA
字号:
package org.xbeans.communication.corba;
/**
<p>
<ul>
<li> <b>Java Class</b> org.xbeans.communication.corba.XMLReceiverHelper
<li> <b>Source File</b> org/xbeans/communication/corba/XMLReceiverHelper.java
<li> <b>IDL Source File</b> D://Documents//MageLang//Xbean//source//XMLReceiver.idl
<li> <b>IDL Absolute Name</b> ::org::xbeans::communication::corba::XMLReceiver
<li> <b>Repository Identifier</b> IDL:org/xbeans/communication/corba/XMLReceiver:1.0
</ul>
<b>IDL definition:</b>
<pre>
    #pragma prefix "org/xbeans/communication/corba"
    interface XMLReceiver {
      void documentReady(
        in ::org::xbeans::communication::corba::byteArray serializedDocument
      )
      raises(
        ::org::xbeans::communication::corba::RemoteReceiverException
      );
    };
</pre>
</p>
*/
abstract public class XMLReceiverHelper {
  public static org.xbeans.communication.corba.XMLReceiver narrow(org.omg.CORBA.Object object) {
    return narrow(object, false);
  }
  private static org.xbeans.communication.corba.XMLReceiver narrow(org.omg.CORBA.Object object, boolean is_a) {
    if(object == null) {
      return null;
    }
    if(object instanceof org.xbeans.communication.corba.XMLReceiver) {
      return (org.xbeans.communication.corba.XMLReceiver) object;
    }
    if(is_a || object._is_a(id())) {
      org.xbeans.communication.corba._st_XMLReceiver result = (org.xbeans.communication.corba._st_XMLReceiver)new org.xbeans.communication.corba._st_XMLReceiver();
      ((org.omg.CORBA.portable.ObjectImpl) result)._set_delegate
        (((org.omg.CORBA.portable.ObjectImpl) object)._get_delegate());
      ((org.omg.CORBA.portable.ObjectImpl) result._this())._set_delegate
        (((org.omg.CORBA.portable.ObjectImpl) object)._get_delegate());
      return (org.xbeans.communication.corba.XMLReceiver) result._this();
    }
    return null;
  }
  public static org.xbeans.communication.corba.XMLReceiver bind(org.omg.CORBA.ORB orb) {
    return bind(orb, null, null, null);
  }
  public static org.xbeans.communication.corba.XMLReceiver bind(org.omg.CORBA.ORB orb, java.lang.String name) {
    return bind(orb, name, null, null);
  }
  public static org.xbeans.communication.corba.XMLReceiver bind(org.omg.CORBA.ORB orb, java.lang.String name, java.lang.String host, org.omg.CORBA.BindOptions options) {
    if (orb instanceof com.visigenic.vbroker.orb.ORB) {
      return narrow(((com.visigenic.vbroker.orb.ORB)orb).bind(id(), name, host, options), true);
    }
    else {
      throw new org.omg.CORBA.BAD_PARAM();
    }
  }
  private static org.omg.CORBA.ORB _orb() {
    return org.omg.CORBA.ORB.init();
  }
  public static org.xbeans.communication.corba.XMLReceiver read(org.omg.CORBA.portable.InputStream _input) {
    return org.xbeans.communication.corba.XMLReceiverHelper.narrow(_input.read_Object(), true);
  }
  public static void write(org.omg.CORBA.portable.OutputStream _output, org.xbeans.communication.corba.XMLReceiver value) {
    _output.write_Object(value);
  }
  public static void insert(org.omg.CORBA.Any any, org.xbeans.communication.corba.XMLReceiver value) {
    org.omg.CORBA.portable.OutputStream output = any.create_output_stream();
    write(output, value);
    any.read_value(output.create_input_stream(), type());
  }
  public static org.xbeans.communication.corba.XMLReceiver extract(org.omg.CORBA.Any any) {
    if(!any.type().equal(type())) {
      throw new org.omg.CORBA.BAD_TYPECODE();
    }
    return read(any.create_input_stream());
  }
  private static org.omg.CORBA.TypeCode _type;
  public static org.omg.CORBA.TypeCode type() {
    if(_type == null) {
      _type = _orb().create_interface_tc(id(), "XMLReceiver");
    }
    return _type;
  }
  public static java.lang.String id() {
    return "IDL:org/xbeans/communication/corba/XMLReceiver:1.0";
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -