org.omg.PortableServer
Class ObjectIdHelper

java.lang.Object
  |
  +--org.omg.PortableServer.ObjectIdHelper

public class ObjectIdHelper
extends java.lang.Object

Helper class for : ObjectId

Author:
OpenORB Compiler

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

Constructor Detail

ObjectIdHelper

public ObjectIdHelper()
Method Detail

insert

public static void insert(Any a,
                          byte[] t)
Insert ObjectId into an any
Parameters:
a - an any
t - ObjectId value

extract

public static byte[] extract(Any a)
Extract ObjectId from an any
Parameters:
a - an any
Returns:
the extracted ObjectId value

type

public static TypeCode type()
Return the ObjectId TypeCode
Returns:
a TypeCode

id

public static java.lang.String id()
Return the ObjectId IDL ID
Returns:
an ID

read

public static byte[] read(InputStream istream)
Read ObjectId from a marshalled stream
Parameters:
istream - the input stream
Returns:
the readed ObjectId value

write

public static void write(OutputStream ostream,
                         byte[] value)
Write ObjectId into a marshalled stream
Parameters:
ostream - the output stream
value - ObjectId value