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 {@link Any}
static Stringid()
Get the repository Id of the {@link NameComponent}.
static voidinsert(Any a, NameComponent that)
Insert the name compnent into the given {@link 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 {@link Any}

id

public static String id()
Get the repository Id of the {@link 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 {@link 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.