org.omg.PortableInterceptor.ORBInitInfoPackage
Class ObjectIdHelper

java.lang.Object
  |
  +--org.omg.PortableInterceptor.ORBInitInfoPackage.ObjectIdHelper

public class ObjectIdHelper
extends java.lang.Object

Helper class for : ObjectId

Author:
OpenORB Compiler

Constructor Summary
ObjectIdHelper()
           
 
Method Summary
static java.lang.String extract(Any a)
          Extract ObjectId from an any
static java.lang.String id()
          Return the ObjectId IDL ID
static void insert(Any a, java.lang.String t)
          Insert ObjectId into an any
static java.lang.String read(InputStream istream)
          Read ObjectId from a marshalled stream
static TypeCode type()
          Return the ObjectId TypeCode
static void write(OutputStream ostream, java.lang.String 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,
                          java.lang.String t)
Insert ObjectId into an any
Parameters:
a - an any
t - ObjectId value

extract

public static java.lang.String 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 java.lang.String 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,
                         java.lang.String value)
Write ObjectId into a marshalled stream
Parameters:
ostream - the output stream
value - ObjectId value