org.omg.IOP

Class TaggedProfileHelper

public abstract class TaggedProfileHelper extends Object

A helper operations for the structure {@link TaggedProfile}.
Method Summary
static TaggedProfileextract(Any any)
Extract the TaggedProfile from given Any.
static Stringid()
Get the TaggedProfile repository id.
static voidinsert(Any any, TaggedProfile that)
Insert the TaggedProfile into the given Any.
static TaggedProfileread(InputStream input)
Read the structure from the CDR intput stream.
static TypeCodetype()
Create the TaggedProfile typecode (structure, named "TaggedProfile").
static voidwrite(OutputStream output, TaggedProfile value)
Write the structure to the CDR output stream.

Method Detail

extract

public static TaggedProfile extract(Any any)
Extract the TaggedProfile from given Any. This method uses the TaggedProfileHolder.

Throws: BAD_OPERATION if the passed Any does not contain TaggedProfile.

id

public static String id()
Get the TaggedProfile repository id.

Returns: "IDL:omg.org/IOP/TaggedProfile:1.0", always.

insert

public static void insert(Any any, TaggedProfile that)
Insert the TaggedProfile into the given Any. This method uses the TaggedProfileHolder.

Parameters: any the Any to insert into. that the TaggedProfile to insert.

read

public static TaggedProfile read(InputStream input)
Read the structure from the CDR intput stream.

Parameters: input a org.omg.CORBA.portable stream to read from.

type

public static TypeCode type()
Create the TaggedProfile typecode (structure, named "TaggedProfile"). The typecode states that the structure contains the following fields: tag, profile_data.

write

public static void write(OutputStream output, TaggedProfile value)
Write the structure to the CDR output stream.

Parameters: output a org.omg.CORBA.portable stream stream to write into. value a value to write.