Java Platform 1.2
Beta 4

Interface org.omg.CORBA.DynAny

All Known Subinterfaces:
DynArray, DynEnum, DynFixed, DynSequence, DynStruct, DynUnion, DynValue

public abstract interface DynAny
extends Object
org.omg.CORBA.Any values can be dynamically interpreted (traversed) and constructed through DynAny objects. A DynAny object is associated with a data value which may correspond to a copy of the value inserted into an Any. The DynAny APIs enable traversal of the data value associated with an Any at runtime and extraction of the primitive constituents of the data value.


Method Summary
 void assign(DynAny dyn_any)
           
 DynAny copy()
           
 DynAny current_component()
           
 void destroy()
           
 void from_any(Any value)
           
 Any get_any()
           
 boolean get_boolean()
           
 char get_char()
           
 double get_double()
           
 float get_float()
           
 int get_long()
           
 long get_longlong()
           
 byte get_octet()
           
 Object get_reference()
           
 short get_short()
           
 String get_string()
           
 TypeCode get_typecode()
           
 int get_ulong()
           
 long get_ulonglong()
           
 short get_ushort()
           
 char get_wchar()
           
 String get_wstring()
           
 void insert_any(Any value)
           
 void insert_boolean(boolean value)
           
 void insert_char(char value)
           
 void insert_double(double value)
           
 void insert_float(float value)
           
 void insert_long(int value)
           
 void insert_longlong(long value)
           
 void insert_octet(byte value)
           
 void insert_reference(Object value)
           
 void insert_short(short value)
           
 void insert_string(String value)
           
 void insert_typecode(TypeCode value)
           
 void insert_ulong(int value)
           
 void insert_ulonglong(long value)
           
 void insert_ushort(short value)
           
 void insert_value(Serializable value)
           
 void insert_wchar(char value)
           
 void insert_wstring(String value)
           
 boolean next()
           
 void rewind()
           
 boolean seek(int index)
           
 Any to_any()
           
 TypeCode type()
           
 
Methods inherited from interface org.omg.CORBA.Object
_create_request , _create_request , _duplicate , _get_domain_managers , _get_implementation , _get_interface , _get_policy , _hash , _is_a , _is_equivalent , _non_existent , _release , _request , _set_policy_override
 

Method Detail

type

public TypeCode type()

assign

public void assign(DynAny dyn_any)
            throws org.omg.CORBA.DynAnyPackage.Invalid

from_any

public void from_any(Any value)
              throws org.omg.CORBA.DynAnyPackage.Invalid

to_any

public Any to_any()
           throws org.omg.CORBA.DynAnyPackage.Invalid

destroy

public void destroy()

copy

public DynAny copy()

insert_boolean

public void insert_boolean(boolean value)
                    throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_octet

public void insert_octet(byte value)
                  throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_char

public void insert_char(char value)
                 throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_short

public void insert_short(short value)
                  throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_ushort

public void insert_ushort(short value)
                   throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_long

public void insert_long(int value)
                 throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_ulong

public void insert_ulong(int value)
                  throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_float

public void insert_float(float value)
                  throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_double

public void insert_double(double value)
                   throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_string

public void insert_string(String value)
                   throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_reference

public void insert_reference(Object value)
                      throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_typecode

public void insert_typecode(TypeCode value)
                     throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_longlong

public void insert_longlong(long value)
                     throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_ulonglong

public void insert_ulonglong(long value)
                      throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_wchar

public void insert_wchar(char value)
                  throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_wstring

public void insert_wstring(String value)
                    throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_any

public void insert_any(Any value)
                throws org.omg.CORBA.DynAnyPackage.InvalidValue

insert_value

public void insert_value(Serializable value)
                  throws org.omg.CORBA.DynAnyPackage.InvalidValue

get_boolean

public boolean get_boolean()
                    throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_octet

public byte get_octet()
               throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_char

public char get_char()
              throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_short

public short get_short()
                throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_ushort

public short get_ushort()
                 throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_long

public int get_long()
             throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_ulong

public int get_ulong()
              throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_float

public float get_float()
                throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_double

public double get_double()
                  throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_string

public String get_string()
                  throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_reference

public Object get_reference()
                     throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_typecode

public TypeCode get_typecode()
                      throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_longlong

public long get_longlong()
                  throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_ulonglong

public long get_ulonglong()
                   throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_wchar

public char get_wchar()
               throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_wstring

public String get_wstring()
                   throws org.omg.CORBA.DynAnyPackage.TypeMismatch

get_any

public Any get_any()
            throws org.omg.CORBA.DynAnyPackage.TypeMismatch

current_component

public DynAny current_component()

next

public boolean next()

seek

public boolean seek(int index)

rewind

public void rewind()

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.