org.omg.CORBA
Class ObjectHelper

java.lang.Object
  extended byorg.omg.CORBA.ObjectHelper

public class ObjectHelper
extends java.lang.Object

Helper class for : Object

Author:
OpenORB Compiler

Constructor Summary
ObjectHelper()
           
 
Method Summary
static java.lang.Object extract(Any a)
          Extract Object from an any
static java.lang.String id()
          Return the Object IDL ID
static void insert(Any a, Object t)
          Insert Object into an any
static Object read(InputStream istream)
          Read Object from a marshalled stream
static TypeCode type()
          Return the Object TypeCode
static void write(OutputStream ostream, Object value)
          Write Object into a marshalled stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectHelper

public ObjectHelper()
Method Detail

insert

public static void insert(Any a,
                          Object t)
Insert Object into an any

Parameters:
a - an any
t - AbstractBase value

extract

public static java.lang.Object extract(Any a)
Extract Object from an any

Parameters:
a - an any
Returns:
the extracted AbstractBase value

type

public static TypeCode type()
Return the Object TypeCode

Returns:
a TypeCode

id

public static java.lang.String id()
Return the Object IDL ID

Returns:
an ID

read

public static Object read(InputStream istream)
Read Object from a marshalled stream

Parameters:
istream - the input stream
Returns:
the read Object value

write

public static void write(OutputStream ostream,
                         Object value)
Write Object into a marshalled stream

Parameters:
ostream - the output stream
value - Object value