JavaTM 2 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 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only