org.omg.CosNaming

Class NameHelper

public class NameHelper extends Object

Helper class for : Name

Author: OpenORB Compiler

Method Summary
static NameComponent[]extract(Any a)
Extract Name from an any
static Stringid()
Return the Name IDL ID
static voidinsert(Any a, NameComponent[] t)
Insert Name into an any
static NameComponent[]read(InputStream istream)
Read Name from a marshalled stream
static TypeCodetype()
Return the Name TypeCode
static voidwrite(OutputStream ostream, NameComponent[] value)
Write Name into a marshalled stream

Method Detail

extract

public static NameComponent[] extract(Any a)
Extract Name from an any

Parameters: a an any

Returns: the extracted Name value

id

public static String id()
Return the Name IDL ID

Returns: an ID

insert

public static void insert(Any a, NameComponent[] t)
Insert Name into an any

Parameters: a an any t Name value

read

public static NameComponent[] read(InputStream istream)
Read Name from a marshalled stream

Parameters: istream the input stream

Returns: the readed Name value

type

public static TypeCode type()
Return the Name TypeCode

Returns: a TypeCode

write

public static void write(OutputStream ostream, NameComponent[] value)
Write Name into a marshalled stream

Parameters: ostream the output stream value Name value