org.omg.IOP
Class ComponentIdHelper

java.lang.Object
  extended byorg.omg.IOP.ComponentIdHelper

public class ComponentIdHelper
extends java.lang.Object

Helper class for : ComponentId

Author:
OpenORB Compiler

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

Constructor Detail

ComponentIdHelper

public ComponentIdHelper()
Method Detail

insert

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

Parameters:
a - an any
t - ComponentId value

extract

public static int extract(Any a)
Extract ComponentId from an any

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

type

public static TypeCode type()
Return the ComponentId TypeCode

Returns:
a TypeCode

id

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

Returns:
an ID

read

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

Parameters:
istream - the input stream
Returns:
the readed ComponentId value

write

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

Parameters:
ostream - the output stream
value - ComponentId value