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

java.lang.Object extended by org.omg.DynamicAny.DynUnionHelper

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.


Constructor Summary

          
 
Method Summary
static DynUnion

          
static String
id()

          
static void
insert(Any a, DynUnion that)

          
static DynUnion

          
static DynUnion
read(InputStream istream)

          
static TypeCode

          
static DynUnion

          
static void
write(OutputStream ostream, DynUnion value)

          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynUnionHelper

public DynUnionHelper()
Method Detail

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:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.