JavaTM 2 Platform
Standard Ed. 6

org.omg.DynamicAny
類別 DynUnionHelper

java.lang.Object
  繼承者 org.omg.DynamicAny.DynUnionHelper

public abstract class DynUnionHelper
extends Object

DynUnion 物件支持對 IDL 聯合資料 (union) 的操作。聯合資料只能有兩個有效的當前位置:

聯合資料的 component_count 值依賴於當前鑒別符:其鑒別符指示一個指定成員的聯合資料的 component_count 值為 2,其他情況為 1。


建構子摘要
DynUnionHelper()
           
 
方法摘要
static DynUnion extract(Any a)
           
static String id()
           
static void insert(Any a, DynUnion that)
           
static DynUnion narrow(Object obj)
           
static DynUnion read(InputStream istream)
           
static TypeCode type()
           
static DynUnion unchecked_narrow(Object obj)
           
static void write(OutputStream ostream, DynUnion value)
           
 
從類別 java.lang.Object 繼承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

建構子詳細資訊

DynUnionHelper

public DynUnionHelper()
方法詳細資訊

insert

public static void insert(Any a,
                          DynUnion that)

extract

public static DynUnion extract(Any a)

type

public static TypeCode type()

id

public static String id()

read

public static DynUnion read(InputStream istream)

write

public static void write(OutputStream ostream,
                         DynUnion value)

narrow

public static DynUnion narrow(Object obj)

unchecked_narrow

public static DynUnion unchecked_narrow(Object obj)

JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

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