org.omg.CosNaming
Class NameComponentHelper

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

public abstract class NameComponentHelper
extends Object

A helper classes for the name component.


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

NameComponentHelper

public NameComponentHelper()
Method Detail

extract

public static NameComponent extract(Any a)
Extract the name component from this Any


id

public static String id()
Get the repository Id of the NameComponent.

Returns:
"IDL:omg.org/CosNaming/NameComponent:1.0"

insert

public static void insert(Any a,
                          NameComponent that)
Insert the name compnent into the given Any.


read

public static NameComponent read(InputStream istream)
Read the name component from the given CDR input stream.


type

public static TypeCode type()
Get the type code of the named component.


write

public static void write(OutputStream ostream,
                         NameComponent value)
Write the named component into the CDR output stream.