org.omg.IOP
Class MultipleComponentProfileHelper

java.lang.Object
  extended by org.omg.IOP.MultipleComponentProfileHelper

public abstract class MultipleComponentProfileHelper
extends Object

A helper operations for the array of TaggedComponent (MultipleComponentProfile).


Constructor Summary
MultipleComponentProfileHelper()
           
 
Method Summary
static TaggedComponent[] extract(Any any)
          Extract the MultipleComponentProfile from given Any.
static String id()
          Get the MultipleComponentProfile repository id.
static void insert(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 TypeCode type()
           
static void write(OutputStream output, TaggedComponent[] value)
          Write the structure to the CDR output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipleComponentProfileHelper

public MultipleComponentProfileHelper()
Method Detail

type

public static TypeCode type()

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.

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.

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.

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.