org.omg.PortableInterceptor.ORBInitInfoPackage

Class ObjectIdHelper

public abstract class ObjectIdHelper extends Object

The Object Id is defined in OMG specification just as a narrow (not wide) string. As such, the Object Id needs no helper, but one is included in the API anyway.
Method Summary
static Stringextract(Any a)
Extract the Object Id from Any (uses extract_string).
static Stringid()
Return the Object Id repository id.
static voidinsert(Any a, String that)
Insert the Object Id into Any (uses insert_string).
static Stringread(InputStream input)
Calls read_string.
static TypeCodetype()
Return an alias typecode.
static voidwrite(OutputStream output, String value)
Calls write_string.

Method Detail

extract

public static String extract(Any a)
Extract the Object Id from Any (uses extract_string).

Parameters: a the Any to extract from.

id

public static String id()
Return the Object Id repository id.

Returns: "IDL:omg.org/PortableInterceptor/ORBInitInfo/ObjectId:1.0", always.

insert

public static void insert(Any a, String that)
Insert the Object Id into Any (uses insert_string).

Parameters: a the Any to insert into. that the string to insert.

read

public static String read(InputStream input)
Calls read_string.

Parameters: input the stream to read from.

type

public static TypeCode type()
Return an alias typecode.

write

public static void write(OutputStream output, String value)
Calls write_string.

Parameters: output the stream to write into. value the string (Object Id) value to write.