API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.omg.CORBA. Any View Source
Author(s)
Since
JDK1.2
Version
1.12, 09/09/97
Serial
Hierarchy
 Object
      Any
Implements
 IDLEntity
Subclasses
Description
publicabstract abstract class Any
  Serves as a container for any data that can be described in IDL or for any IDL primitive type.
See also:   
Constructors
public Any ()
Methods
Hide/Show inherited methods
publicabstract InputStream create_input_stream ()
  Creates an input stream from which this Any object's value can be unmarshalled.
publicabstract OutputStream create_output_stream ()
  Creates an output stream into which this Any object's value can be marshalled.
publicabstract boolean equal (Any a)
  Checks for equality between this Any object and the given Any object.
publicabstract Any extract_any () throws BAD_OPERATION
  Extracts the Any object in this Any object's value field.
publicabstract boolean extract_boolean () throws BAD_OPERATION
  Extracts the boolean in this Any object's value field.
publicabstract char extract_char () throws BAD_OPERATION
  Extracts the char in this Any object's value field.
publicabstract double extract_double () throws BAD_OPERATION
  Extracts the double in this Any object's value field.
public BigDecimal extract_fixed ()
  Extracts the java.math.BigDecimal object in this Any object's value field.
publicabstract float extract_float () throws BAD_OPERATION
  Extracts the float in this Any object's value field.
publicabstract int extract_long () throws BAD_OPERATION
  Extracts the int in this Any object's value field.
publicabstract long extract_longlong () throws BAD_OPERATION
  Extracts the long in this Any object's value field.
publicabstract Object extract_Object () throws BAD_OPERATION
  Extracts the org.omg.CORBA.Object in this Any object's value field.
publicabstract byte extract_octet () throws BAD_OPERATION
  Extracts the byte in this Any object's value field.
@Deprecated
public Principal extract_Principal () throws BAD_OPERATION
  Extracts the Principal object in this Any object's value field.
publicabstract short extract_short () throws BAD_OPERATION
  Extracts the short in this Any object's value field.
public Streamable extract_Streamable () throws BAD_INV_ORDER
  Extracts a Streamable from this Any object's value field.
publicabstract String extract_string () throws BAD_OPERATION
  Extracts the String object in this Any object's value field.
publicabstract TypeCode extract_TypeCode () throws BAD_OPERATION
  Extracts the TypeCode object in this Any object's value field.
publicabstract int extract_ulong () throws BAD_OPERATION
  Extracts the int in this Any object's value field.
publicabstract long extract_ulonglong () throws BAD_OPERATION
  Extracts the long in this Any object's value field.
publicabstract short extract_ushort () throws BAD_OPERATION
  Extracts the short in this Any object's value field.
publicabstract Serializable extract_Value () throws BAD_OPERATION
  Extracts the java.io.Serializable object in this Any object's value field.
publicabstract char extract_wchar () throws BAD_OPERATION
  Extracts the char in this Any object's value field.
publicabstract String extract_wstring () throws BAD_OPERATION
  Extracts the String object in this Any object's value field.
publicabstract void insert_any (Any a)
  Inserts the given Any object into this Any object's value field.
publicabstract void insert_boolean (boolean b)
  Inserts the given boolean into this Any object's value field.
publicabstract void insert_char (char c) throws DATA_CONVERSION
  Inserts the given char into this Any object's value field.
publicabstract void insert_double (double d)
  Inserts the given double into this Any object's value field.
public void insert_fixed (BigDecimal value)
  Throws an org.omg.CORBA.NO_IMPLEMENT exception.
public void insert_fixed (BigDecimal value, TypeCode type) throws BAD_INV_ORDER
  Throws an org.omg.CORBA.NO_IMPLEMENT exception.
publicabstract void insert_float (float f)
  Inserts the given float into this Any object's value field.
publicabstract void insert_long (int l)
  Inserts the given int into this Any object's value field.
publicabstract void insert_longlong (long l)
  Inserts the given long into this Any object's value field.
publicabstract void insert_Object (Object o)
  Inserts the given org.omg.CORBA.Object object into this Any object's value field.
publicabstract void insert_Object (Object o, TypeCode t) throws BAD_PARAM
  Inserts the given org.omg.CORBA.Object object into this Any object's value field.
publicabstract void insert_octet (byte b)
  Inserts the given byte into this Any object's value field.
@Deprecated
public void insert_Principal (Principal p)
  Inserts the given Principal object into this Any object's value field.
publicabstract void insert_short (short s)
  Inserts the given short into this Any object's value field.
public void insert_Streamable (Streamable s)
  Inserts the given Streamable object into this Any object's value field.
publicabstract void insert_string (String s) throws DATA_CONVERSION MARSHAL
  Inserts the given String object into this Any object's value field.
publicabstract void insert_TypeCode (TypeCode t)
  Inserts the given TypeCode object into this Any object's value field.
publicabstract void insert_ulong (int l)
  Inserts the given int into this Any object's value field.
publicabstract void insert_ulonglong (long l)
  Inserts the given long into this Any object's value field.
publicabstract void insert_ushort (short s)
  Inserts the given short into this Any object's value field.
publicabstract void insert_Value (Serializable v)
  Inserts the given java.io.Serializable object into this Any object's value field.
publicabstract void insert_Value (Serializable v, TypeCode t) throws MARSHAL
  Inserts the given java.io.Serializable object into this Any object's value field.
publicabstract void insert_wchar (char c)
  Inserts the given char into this Any object's value field.
publicabstract void insert_wstring (String s) throws MARSHAL
  Inserts the given String object into this Any object's value field.
publicabstract void read_value (InputStream is, TypeCode t) throws MARSHAL
  Reads off (unmarshals) the value of an Any object from the given input stream using the given typecode.
publicabstract TypeCode type ()
  Returns type information for the element contained in this Any object.
publicabstract void type (TypeCode t)
  Sets this Any object's type field to the given TypeCode object and clears its value.
publicabstract void write_value (OutputStream os)
  Writes out the value of this Any object to the given output stream.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar