org.omg.CosNaming

Class 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.
Method Summary
static NameComponent[]extract(Any a)
Extract the Name the given {@link Any}.
static Stringid()
Get the Name repository Id.
static voidinsert(Any a, NameComponent[] that)
Extract the Name from the given {@link Any}.
static NameComponent[]read(InputStream istream)
Read the Name from the given CDR input stream.
static TypeCodetype()
Get the type code of the Name.
static voidwrite(OutputStream ostream, NameComponent[] value)
Write the Name into the CDR output stream.

Method Detail

extract

public static NameComponent[] extract(Any a)
Extract the Name the given {@link 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 {@link 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.