org.omg.CosNaming
Class NameHelper

java.lang.Object
  extended by org.omg.CosNaming.NameHelper

public abstract class NameHelper
extends Object

The helper operations for the name that is defined as an array of the name components. There is no java class, directly matching the 'Name' IDL type.


Constructor Summary
NameHelper()
           
 
Method Summary
static NameComponent[] extract(Any a)
          Extract the Name the given Any.
static String id()
          Get the Name repository Id.
static void insert(Any a, NameComponent[] that)
          Extract the Name from the given Any.
static NameComponent[] read(InputStream istream)
          Read the Name from the given CDR input stream.
static TypeCode type()
          Get the type code of the Name.
static void write(OutputStream ostream, NameComponent[] value)
          Write the Name into the CDR output 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

extract

public static NameComponent[] extract(Any a)
Extract the Name the given Any.


id

public static String id()
Get the Name repository Id.


insert

public static void insert(Any a,
                          NameComponent[] that)
Extract the Name from the given Any.


read

public static NameComponent[] read(InputStream istream)
Read the Name from the given CDR input stream.


type

public static TypeCode type()
Get the type code of the Name.


write

public static void write(OutputStream ostream,
                         NameComponent[] value)
Write the Name into the CDR output stream.