org.omg.IOP

Class MultipleComponentProfileHelper

public abstract class MultipleComponentProfileHelper extends Object

A helper operations for the array of {@link TaggedComponent} (MultipleComponentProfile).
Method Summary
static TaggedComponent[]extract(Any any)
Extract the MultipleComponentProfile from given Any.
static Stringid()
Get the MultipleComponentProfile repository id.
static voidinsert(Any any, TaggedComponent[] those)
Insert the MultipleComponentProfile into the given Any.
static TaggedComponent[]read(InputStream input)
Read the sequence from the CDR intput stream.
static TypeCodetype()
static voidwrite(OutputStream output, TaggedComponent[] value)
Write the structure to the CDR output stream.

Method Detail

extract

public static TaggedComponent[] extract(Any any)
Extract the MultipleComponentProfile from given Any. This method uses the MultipleComponentProfileHolder.

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

id

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

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

insert

public static void insert(Any any, TaggedComponent[] those)
Insert the MultipleComponentProfile into the given Any. This method uses the MultipleComponentProfileHolder.

Parameters: any the Any to insert into. those the TaggedComponent[] to insert.

read

public static TaggedComponent[] read(InputStream input)
Read the sequence from the CDR intput stream. Expects the array size (as CORBA long), followed by the array members (if any).

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

type

public static TypeCode type()

write

public static void write(OutputStream output, TaggedComponent[] value)
Write the structure to the CDR output stream. Writes the array size (as CORBA long), followed by the array members (if any).

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