org.omg.CORBA

Class IdentifierHelper

public abstract class IdentifierHelper extends Object

A formal helper for the CORBA Identifier that is identical to the narrow string.
Method Summary
static Stringextract(Any a)
Extract the Identifier from Any ((uses {@link Any#extract_string}).
static Stringid()
Return the Identifier repository id.
static voidinsert(Any a, String that)
Insert the Identifier into Any (uses {@link Any#insert_string}).
static Stringread(InputStream istream)
Calls {@link InputStream#read_string()}.
static TypeCodetype()
Return an string alias typecode, named "Identifier".
static voidwrite(OutputStream ostream, String value)
Calls {@link OutputStream#write_string(String)}.

Method Detail

extract

public static String extract(Any a)
Extract the Identifier from Any ((uses {@link Any#extract_string}).

Parameters: a the Any to extract from.

id

public static String id()
Return the Identifier repository id.

Returns: "IDL:omg.org/CORBA/Identifier:1.0", always.

insert

public static void insert(Any a, String that)
Insert the Identifier into Any (uses {@link Any#insert_string}).

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

read

public static String read(InputStream istream)
Calls {@link InputStream#read_string()}.

Parameters: istream the stream to read from.

type

public static TypeCode type()
Return an string alias typecode, named "Identifier".

write

public static void write(OutputStream ostream, String value)
Calls {@link OutputStream#write_string(String)}.

Parameters: ostream the stream to write into. value the string (Identifier) value to write.