IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
 
[Sommaire]  [Top 50]  [F.A.Q.]  [ Java SE ]  [ Java EE ]  [Javadoc standard]  [Contact]
[ 1.4.2 ]  [ 5.0 ]  [ 6.0
Rechercher   
Dans
Options   sensible à la casse
étendre la recherche aux descriptions
Préférences
fr en 
 
Moteurs de recherche
JavaTM 2 Platform Std. Ed. v1.4.2

org.omg.DynamicAny
Class DynUnionHelper

java.lang.Object
  extended byorg.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:

  • 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.


Constructor Summary
DynUnionHelper()
           
 
Method Summary
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 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

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)

Copyright 2003 Sun Microsystems, Inc. All rights reserved