org.apache.yoko.orb.CORBA
Class Any

java.lang.Object
  extended by org.omg.CORBA.Any
      extended by org.apache.yoko.orb.CORBA.Any
All Implemented Interfaces:
Serializable, IDLEntity

public final class Any
extends Any

See Also:
Serialized Form

Constructor Summary
Any()
           
Any(Any any)
           
Any(Any any)
           
Any(ORBInstance orbInstance)
           
Any(ORBInstance orbInstance, TypeCode type, Object value)
           
 
Method Summary
 ORBInstance _OB_ORBInstance()
           
 void _OB_ORBInstance(ORBInstance orbInstance)
           
 TypeCode _OB_type()
           
 InputStream create_input_stream()
           
 OutputStream create_output_stream()
           
 boolean equal(Any a)
           
 Any extract_any()
           
 boolean extract_boolean()
           
 char extract_char()
           
 double extract_double()
           
 BigDecimal extract_fixed()
           
 float extract_float()
           
 int extract_long()
           
 long extract_longlong()
           
 Object extract_Object()
           
 byte extract_octet()
           
 Principal extract_Principal()
          Deprecated by CORBA 2.2.
 short extract_short()
           
 Streamable extract_Streamable()
           
 String extract_string()
           
 TypeCode extract_TypeCode()
           
 int extract_ulong()
           
 long extract_ulonglong()
           
 short extract_ushort()
           
 Serializable extract_Value()
           
 char extract_wchar()
           
 String extract_wstring()
           
 void insert_any(Any val)
           
 void insert_boolean(boolean val)
           
 void insert_char(char val)
           
 void insert_double(double val)
           
 void insert_fixed(BigDecimal val)
           
 void insert_fixed(BigDecimal val, TypeCode tc)
           
 void insert_float(float val)
           
 void insert_long(int val)
           
 void insert_longlong(long val)
           
 void insert_Object(Object val)
           
 void insert_Object(Object val, TypeCode tc)
           
 void insert_octet(byte val)
           
 void insert_Principal(Principal val)
          Deprecated by CORBA 2.2.
 void insert_short(short val)
           
 void insert_Streamable(Streamable val)
           
 void insert_string(String val)
           
 void insert_TypeCode(TypeCode val)
           
 void insert_ulong(int val)
           
 void insert_ulonglong(long val)
           
 void insert_ushort(short val)
           
 void insert_Value(Serializable val)
           
 void insert_Value(Serializable val, TypeCode tc)
           
 void insert_wchar(char val)
           
 void insert_wstring(String val)
           
 void read_value(InputStream in, TypeCode tc)
           
 void replace(TypeCode tc, Object value)
           
 void setType(TypeCode tc)
           
 TypeCode type()
           
 void type(TypeCode tc)
           
 Object value()
           
 void write_value(OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Any

public Any()

Any

public Any(ORBInstance orbInstance)

Any

public Any(Any any)

Any

public Any(Any any)

Any

public Any(ORBInstance orbInstance,
           TypeCode type,
           Object value)
Method Detail

setType

public void setType(TypeCode tc)

equal

public boolean equal(Any a)
Specified by:
equal in class Any

type

public TypeCode type()
Specified by:
type in class Any

type

public void type(TypeCode tc)
Specified by:
type in class Any

read_value

public void read_value(InputStream in,
                       TypeCode tc)
                throws MARSHAL
Specified by:
read_value in class Any
Throws:
MARSHAL

write_value

public void write_value(OutputStream out)
Specified by:
write_value in class Any

create_output_stream

public OutputStream create_output_stream()
Specified by:
create_output_stream in class Any

create_input_stream

public InputStream create_input_stream()
Specified by:
create_input_stream in class Any

extract_short

public short extract_short()
                    throws BAD_OPERATION
Specified by:
extract_short in class Any
Throws:
BAD_OPERATION

insert_short

public void insert_short(short val)
Specified by:
insert_short in class Any

extract_long

public int extract_long()
                 throws BAD_OPERATION
Specified by:
extract_long in class Any
Throws:
BAD_OPERATION

insert_long

public void insert_long(int val)
Specified by:
insert_long in class Any

extract_longlong

public long extract_longlong()
                      throws BAD_OPERATION
Specified by:
extract_longlong in class Any
Throws:
BAD_OPERATION

insert_longlong

public void insert_longlong(long val)
Specified by:
insert_longlong in class Any

extract_ushort

public short extract_ushort()
                     throws BAD_OPERATION
Specified by:
extract_ushort in class Any
Throws:
BAD_OPERATION

insert_ushort

public void insert_ushort(short val)
Specified by:
insert_ushort in class Any

extract_ulong

public int extract_ulong()
                  throws BAD_OPERATION
Specified by:
extract_ulong in class Any
Throws:
BAD_OPERATION

insert_ulong

public void insert_ulong(int val)
Specified by:
insert_ulong in class Any

extract_ulonglong

public long extract_ulonglong()
                       throws BAD_OPERATION
Specified by:
extract_ulonglong in class Any
Throws:
BAD_OPERATION

insert_ulonglong

public void insert_ulonglong(long val)
Specified by:
insert_ulonglong in class Any

extract_boolean

public boolean extract_boolean()
                        throws BAD_OPERATION
Specified by:
extract_boolean in class Any
Throws:
BAD_OPERATION

insert_boolean

public void insert_boolean(boolean val)
Specified by:
insert_boolean in class Any

extract_char

public char extract_char()
                  throws BAD_OPERATION
Specified by:
extract_char in class Any
Throws:
BAD_OPERATION

insert_char

public void insert_char(char val)
                 throws DATA_CONVERSION
Specified by:
insert_char in class Any
Throws:
DATA_CONVERSION

extract_wchar

public char extract_wchar()
                   throws BAD_OPERATION
Specified by:
extract_wchar in class Any
Throws:
BAD_OPERATION

insert_wchar

public void insert_wchar(char val)
                  throws DATA_CONVERSION
Specified by:
insert_wchar in class Any
Throws:
DATA_CONVERSION

extract_octet

public byte extract_octet()
                   throws BAD_OPERATION
Specified by:
extract_octet in class Any
Throws:
BAD_OPERATION

insert_octet

public void insert_octet(byte val)
Specified by:
insert_octet in class Any

extract_float

public float extract_float()
                    throws BAD_OPERATION
Specified by:
extract_float in class Any
Throws:
BAD_OPERATION

insert_float

public void insert_float(float val)
Specified by:
insert_float in class Any

extract_double

public double extract_double()
                      throws BAD_OPERATION
Specified by:
extract_double in class Any
Throws:
BAD_OPERATION

insert_double

public void insert_double(double val)
Specified by:
insert_double in class Any

extract_any

public Any extract_any()
                throws BAD_OPERATION
Specified by:
extract_any in class Any
Throws:
BAD_OPERATION

insert_any

public void insert_any(Any val)
Specified by:
insert_any in class Any

extract_TypeCode

public TypeCode extract_TypeCode()
                          throws BAD_OPERATION
Specified by:
extract_TypeCode in class Any
Throws:
BAD_OPERATION

insert_TypeCode

public void insert_TypeCode(TypeCode val)
Specified by:
insert_TypeCode in class Any

extract_Principal

public Principal extract_Principal()
                            throws BAD_OPERATION
Description copied from class: Any
Deprecated by CORBA 2.2.

Overrides:
extract_Principal in class Any
Throws:
BAD_OPERATION

insert_Principal

public void insert_Principal(Principal val)
Description copied from class: Any
Deprecated by CORBA 2.2.

Overrides:
insert_Principal in class Any

extract_Object

public Object extract_Object()
                      throws BAD_OPERATION
Specified by:
extract_Object in class Any
Throws:
BAD_OPERATION

insert_Object

public void insert_Object(Object val)
Specified by:
insert_Object in class Any

insert_Object

public void insert_Object(Object val,
                          TypeCode tc)
Specified by:
insert_Object in class Any

extract_string

public String extract_string()
                      throws BAD_OPERATION
Specified by:
extract_string in class Any
Throws:
BAD_OPERATION

insert_string

public void insert_string(String val)
Specified by:
insert_string in class Any

extract_wstring

public String extract_wstring()
                       throws BAD_OPERATION
Specified by:
extract_wstring in class Any
Throws:
BAD_OPERATION

insert_wstring

public void insert_wstring(String val)
Specified by:
insert_wstring in class Any

extract_Streamable

public Streamable extract_Streamable()
                              throws BAD_INV_ORDER
Overrides:
extract_Streamable in class Any
Throws:
BAD_INV_ORDER

insert_Streamable

public void insert_Streamable(Streamable val)
Overrides:
insert_Streamable in class Any

extract_fixed

public BigDecimal extract_fixed()
Overrides:
extract_fixed in class Any

insert_fixed

public void insert_fixed(BigDecimal val)
Overrides:
insert_fixed in class Any

insert_fixed

public void insert_fixed(BigDecimal val,
                         TypeCode tc)
                  throws BAD_INV_ORDER
Overrides:
insert_fixed in class Any
Throws:
BAD_INV_ORDER

extract_Value

public Serializable extract_Value()
                           throws BAD_OPERATION
Specified by:
extract_Value in class Any
Throws:
BAD_OPERATION

insert_Value

public void insert_Value(Serializable val)
Specified by:
insert_Value in class Any

insert_Value

public void insert_Value(Serializable val,
                         TypeCode tc)
                  throws MARSHAL
Specified by:
insert_Value in class Any
Throws:
MARSHAL

value

public Object value()

replace

public void replace(TypeCode tc,
                    Object value)

_OB_ORBInstance

public ORBInstance _OB_ORBInstance()

_OB_ORBInstance

public void _OB_ORBInstance(ORBInstance orbInstance)

_OB_type

public TypeCode _OB_type()


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.