org.omg.CORBA

Class DefinitionKindHelper

public abstract class DefinitionKindHelper extends Object

A helper operations for the definition kind.
Method Summary
static DefinitionKindextract(Any a)
Extract the definition kind from the given Any.
static Stringid()
Get the definition kind repository id.
static voidinsert(Any a, DefinitionKind that)
Insert the definition kind into the given Any.
static DefinitionKindread(InputStream istream)
Read the definitin kind (as int) from the CDR intput stream.
static TypeCodetype()
Get the definition kind typecode (enumeration, named "DefinitionKind").
static voidwrite(OutputStream ostream, DefinitionKind value)
Write the definition kind (as int) to the CDR output stream.

Method Detail

extract

public static DefinitionKind extract(Any a)
Extract the definition kind from the given Any.

id

public static String id()
Get the definition kind repository id.

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

insert

public static void insert(Any a, DefinitionKind that)
Insert the definition kind into the given Any.

read

public static DefinitionKind read(InputStream istream)
Read the definitin kind (as int) from the CDR intput stream.

Parameters: istream a stream to read from.

type

public static TypeCode type()
Get the definition kind typecode (enumeration, named "DefinitionKind"). The member names are listed as defined by java 1.4 specification. The names, defined in OMG specification only (like dk_Home or dk_Event) are not listed.

write

public static void write(OutputStream ostream, DefinitionKind value)
Write the definition kind (as int) to the CDR output stream.

Parameters: ostream a stream to write into. value a value to write.