JavaTM 2 Platform
Standard Ed. 5.0

类 org.omg.IOP.CodecPackage.TypeMismatch
的使用

使用 TypeMismatch 的软件包
org.omg.IOP 此包包含在 OMG 文档 The Common Object Request Broker: Architecture and Specification http://cgi.omg.org/cgi-bin/doc?formal/99-10-07 的 13.6.小节中指定的 IOP 模块。 
org.omg.IOP.CodecPackage 此包根据 IOP::Codec IDL 接口定义生成。 
 

org.omg.IOP 中 TypeMismatch 的使用
 

抛出 TypeMismatch 的 org.omg.IOP 中的方法
 Any CodecOperations.decode_value(byte[] data, TypeCode tc)
          基于给定的 TypeCode 和对此 Codec 有效的编码格式,将给定的 byte 数组解码为 Any。
 

org.omg.IOP.CodecPackage 中 TypeMismatch 的使用
 

返回 TypeMismatch 的 org.omg.IOP.CodecPackage 中的方法
static TypeMismatch TypeMismatchHelper.extract(Any a)
           
static TypeMismatch TypeMismatchHelper.read(InputStream istream)
           
 

参数类型为 TypeMismatch 的 org.omg.IOP.CodecPackage 中的方法
static void TypeMismatchHelper.insert(Any a, TypeMismatch that)
           
static void TypeMismatchHelper.write(OutputStream ostream, TypeMismatch value)
           
 


JavaTM 2 Platform
Standard Ed. 5.0

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java 2 SDK SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。