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