org.omg.CORBA

Class VersionSpecHelper

public abstract class VersionSpecHelper extends Object

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

Method Detail

extract

public static String extract(Any a)
Extract the VersionSpec from Any ((uses Any).

Parameters: a the Any to extract from.

id

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

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

insert

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

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

read

public static String read(InputStream istream)
Calls InputStream#read_string().

Parameters: istream the stream to read from.

type

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

write

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

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