This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
org.omg.DynamicAny
class DynUnionHelper
public abstract class DynUnionHelper
extends Object
DynUnion objects support the manipulation of IDL unions.
A union can have only two valid current positions:
- zero, which denotes the discriminator
- one, which denotes the active member
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynUnionHelper
public DynUnionHelper()
-
extract
public static DynUnion extract(Any a)
-
- Parameters:
a
id
public static String id()
-
insert
public static void insert(Any a,
DynUnion that)
-
- Parameters:
a
that
narrow
public static DynUnion narrow(Object obj)
-
- Parameters:
obj
read
public static DynUnion read(InputStream istream)
-
- Parameters:
istream
type
public static synchronized TypeCode type()
-
unchecked_narrow
public static DynUnion unchecked_narrow(Object obj)
-
- Parameters:
obj
write
public static void write(OutputStream ostream,
DynUnion value)
-
- Parameters:
ostream
value
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.