Methods Summary |
---|
public abstract org.omg.CORBA.portable.InputStream | create_input_stream()Creates an input stream from which this Any object's value
can be unmarshalled.
|
public abstract org.omg.CORBA.portable.OutputStream | create_output_stream()Creates an output stream into which this Any object's
value can be marshalled.
|
public abstract boolean | equal(org.omg.CORBA.Any a)Checks for equality between this Any object and the
given Any object. Two Any objects are
equal if both their values and type codes are equal.
|
public abstract org.omg.CORBA.Object | extract_Object()Extracts the org.omg.CORBA.Object in this
Any object's value field.
|
public Principal | extract_Principal()Extracts the Principal object in this
Any object's value field.
Note that the class Principal has been deprecated.
throw new org.omg.CORBA.NO_IMPLEMENT() ;
|
public org.omg.CORBA.portable.Streamable | extract_Streamable()Extracts a Streamable from this Any object's
value field. This method allows the extraction of
non-primitive IDL types.
throw new org.omg.CORBA.NO_IMPLEMENT() ;
|
public abstract TypeCode | extract_TypeCode()Extracts the TypeCode object in this
Any object's value field.
|
public abstract java.io.Serializable | extract_Value()Extracts the java.io.Serializable object in this
Any object's value field.
|
public abstract org.omg.CORBA.Any | extract_any()Extracts the Any object in this
Any object's value field.
|
public abstract boolean | extract_boolean()Extracts the boolean in this
Any object's value field.
|
public abstract char | extract_char()Extracts the char in this
Any object's value field.
|
public abstract double | extract_double()Extracts the double in this
Any object's value field.
|
public java.math.BigDecimal | extract_fixed()Extracts the java.math.BigDecimal object in this
Any object's value field.
throw new org.omg.CORBA.NO_IMPLEMENT();
|
public abstract float | extract_float()Extracts the float in this
Any object's value field.
|
public abstract int | extract_long()Extracts the int in this
Any object's value field.
|
public abstract long | extract_longlong()Extracts the long in this
Any object's value field.
|
public abstract byte | extract_octet()Extracts the byte in this
Any object's value field.
|
public abstract short | extract_short()Extracts the short in this
Any object's value field.
|
public abstract java.lang.String | extract_string()Extracts the String object in this
Any object's value field.
|
public abstract int | extract_ulong()Extracts the int in this
Any object's value field.
|
public abstract long | extract_ulonglong()Extracts the long in this
Any object's value field.
|
public abstract short | extract_ushort()Extracts the short in this
Any object's value field.
|
public abstract char | extract_wchar()Extracts the char in this
Any object's value field.
|
public abstract java.lang.String | extract_wstring()Extracts the String object in this
Any object's value field.
|
public abstract void | insert_Object(org.omg.CORBA.Object o)Inserts the given org.omg.CORBA.Object object
into this Any object's value field.
|
public abstract void | insert_Object(org.omg.CORBA.Object o, TypeCode t)Inserts the given org.omg.CORBA.Object object
into this Any object's value field.
|
public void | insert_Principal(Principal p)Inserts the given Principal object
into this Any object's value field.
Note that the class Principal has been deprecated.
throw new org.omg.CORBA.NO_IMPLEMENT() ;
|
public void | insert_Streamable(org.omg.CORBA.portable.Streamable s)Inserts the given Streamable object
into this Any object's value field.
This method allows the insertion of non-primitive IDL types.
throw new org.omg.CORBA.NO_IMPLEMENT() ;
|
public abstract void | insert_TypeCode(TypeCode t)Inserts the given TypeCode object
into this Any object's value field.
|
public abstract void | insert_Value(java.io.Serializable v)Inserts the given java.io.Serializable object
into this Any object's value field.
|
public abstract void | insert_Value(java.io.Serializable v, TypeCode t)Inserts the given java.io.Serializable object
into this Any object's value field.
|
public abstract void | insert_any(org.omg.CORBA.Any a)Inserts the given Any object
into this Any object's value field.
|
public abstract void | insert_boolean(boolean b)Inserts the given boolean
into this Any object's value field.
|
public abstract void | insert_char(char c)Inserts the given char
into this Any object's value field.
|
public abstract void | insert_double(double d)Inserts the given double
into this Any object's value field.
|
public void | insert_fixed(java.math.BigDecimal value)Throws an
org.omg.CORBA.NO_IMPLEMENT exception.
Inserts the given java.math.BigDecimal object
into this Any object's value field.
throw new org.omg.CORBA.NO_IMPLEMENT();
|
public void | insert_fixed(java.math.BigDecimal value, org.omg.CORBA.TypeCode type)Throws an
org.omg.CORBA.NO_IMPLEMENT exception.
Inserts the given java.math.BigDecimal object
into this Any object's value field.
throw new org.omg.CORBA.NO_IMPLEMENT();
|
public abstract void | insert_float(float f)Inserts the given float
into this Any object's value field.
|
public abstract void | insert_long(int l)Inserts the given int
into this Any object's value field.
|
public abstract void | insert_longlong(long l)Inserts the given long
into this Any object's value field.
|
public abstract void | insert_octet(byte b)Inserts the given byte
into this Any object's value field.
|
public abstract void | insert_short(short s)Inserts the given short
into this Any object's value field.
|
public abstract void | insert_string(java.lang.String s)Inserts the given String object
into this Any object's value field.
|
public abstract void | insert_ulong(int l)Inserts the given int
into this Any object's value field.
|
public abstract void | insert_ulonglong(long l)Inserts the given long
into this Any object's value field.
|
public abstract void | insert_ushort(short s)Inserts the given short
into this Any object's value field.
|
public abstract void | insert_wchar(char c)Inserts the given char
into this Any object's value field.
|
public abstract void | insert_wstring(java.lang.String s)Inserts the given String object
into this Any object's value field.
|
public abstract void | read_value(org.omg.CORBA.portable.InputStream is, TypeCode t)Reads off (unmarshals) the value of an Any object from
the given input stream using the given typecode.
|
public abstract TypeCode | type()Returns type information for the element contained in this
Any object.
|
public abstract void | type(TypeCode t)Sets this Any object's type field
to the given TypeCode object and clears its value.
Note that using this method to set the type code wipes out the
value if there is one. The method
is provided primarily so that the type may be set properly for
IDL out parameters. Generally, setting the type
is done by the insert_X methods, which will set the type
to X if it is not already set to X.
|
public abstract void | write_value(org.omg.CORBA.portable.OutputStream os)Writes out the value of this Any object
to the given output stream. If both typecode
and value need to be written, use
create_output_stream() to create an OutputStream ,
then use write_any on the OutputStream .
If this method is called on an Any object that has not
had a value inserted into its value field, it will throw
the exception java.lang.NullPointerException .
|