org.omg.CosNaming

Class NameComponentHelper

public abstract class NameComponentHelper extends Object

A helper classes for the name component.
Method Summary
static NameComponentextract(Any a)
Extract the name component from this
static Stringid()
Get the repository Id of the NameComponent.
static voidinsert(Any a, NameComponent that)
Insert the name compnent into the given Any.
static NameComponentread(InputStream istream)
Read the name component from the given CDR input stream.
static TypeCodetype()
Get the type code of the named component.
static voidwrite(OutputStream ostream, NameComponent value)
Write the named component into the CDR output stream.

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.