public abstract class DynUnionHelper
- extends Object
DynUnion objects support the manipulation of IDL unions.
A union can have only two valid current positions:
The component_count value for a union depends on the current discriminator:
it is 2 for a union whose discriminator indicates a named member, and 1 otherwise.
- zero, which denotes the discriminator
- one, which denotes the active member
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static void insert(Any a,
public static DynUnion extract(Any a)
public static TypeCode type()
public static String id()
public static DynUnion read(InputStream istream)
public static void write(OutputStream ostream,
public static DynUnion narrow(Object obj)
public static DynUnion unchecked_narrow(Object obj)
Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.