JavaTM Platform
Standard Ed. 6

类 org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCode
的使用

使用 InconsistentTypeCode 的软件包
org.omg.DynamicAny 提供一些类和接口使得在运行时能够遍历与 any 有关联的数据值,并提取数据值的基本成分。 
org.omg.DynamicAny.DynAnyFactoryPackage 此包包含 DynamicAny 模块的 DynAnyFactory 接口中的类和异常,该模块在 OMG The Common Object Request Broker: Architecture and Specification http://cgi.omg.org/cgi-bin/doc?formal/99-10-07 的第 9.2.2 小节中指定。 
 

org.omg.DynamicAnyInconsistentTypeCode 的使用
 

抛出 InconsistentTypeCodeorg.omg.DynamicAny 中的方法
 DynAny DynAnyFactoryOperations.create_dyn_any_from_type_code(TypeCode type)
          根据 TypeCode 创建 DynAny。
 DynAny _DynAnyFactoryStub.create_dyn_any_from_type_code(TypeCode type)
          根据 TypeCode 创建 DynAny。
 DynAny DynAnyFactoryOperations.create_dyn_any(Any value)
          根据 any 值创建新 DynAny 对象。
 DynAny _DynAnyFactoryStub.create_dyn_any(Any value)
          根据 any 值创建新 DynAny 对象。
 

org.omg.DynamicAny.DynAnyFactoryPackageInconsistentTypeCode 的使用
 

返回 InconsistentTypeCodeorg.omg.DynamicAny.DynAnyFactoryPackage 中的方法
static InconsistentTypeCode InconsistentTypeCodeHelper.extract(Any a)
           
static InconsistentTypeCode InconsistentTypeCodeHelper.read(InputStream istream)
           
 

参数类型为 InconsistentTypeCodeorg.omg.DynamicAny.DynAnyFactoryPackage 中的方法
static void InconsistentTypeCodeHelper.insert(Any a, InconsistentTypeCode that)
           
static void InconsistentTypeCodeHelper.write(OutputStream ostream, InconsistentTypeCode value)
           
 


JavaTM Platform
Standard Ed. 6

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

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