org.omg.CosNaming
Class NameHelper

java.lang.Object
  |
  +--org.omg.CosNaming.NameHelper

public class NameHelper
extends java.lang.Object

Helper class for : Name

Author:
OpenORB Compiler

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

Constructor Detail

NameHelper

public NameHelper()
Method Detail

insert

public static void insert(org.omg.CORBA.Any a,
                          NameComponent[] t)
Insert Name into an any
Parameters:
a - an any
t - Name value

extract

public static NameComponent[] extract(org.omg.CORBA.Any a)
Extract Name from an any
Parameters:
a - an any
Returns:
the extracted Name value

type

public static org.omg.CORBA.TypeCode type()
Return the Name TypeCode
Returns:
a TypeCode

id

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

read

public static NameComponent[] read(org.omg.CORBA.portable.InputStream istream)
Read Name from a marshalled stream
Parameters:
istream - the input stream
Returns:
the readed Name value

write

public static void write(org.omg.CORBA.portable.OutputStream ostream,
                         NameComponent[] value)
Write Name into a marshalled stream
Parameters:
ostream - the output stream
value - Name value