org.omg.IOP
Class TaggedProfileHelper

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

public abstract class TaggedProfileHelper
extends Object

A helper operations for the structure TaggedProfile.


Constructor Summary
TaggedProfileHelper()
           
 
Method Summary
static TaggedProfile extract(Any any)
          Extract the TaggedProfile from given Any.
static String id()
          Get the TaggedProfile repository id.
static void insert(Any any, TaggedProfile that)
          Insert the TaggedProfile into the given Any.
static TaggedProfile read(InputStream input)
          Read the structure from the CDR intput stream.
static TypeCode type()
          Create the TaggedProfile typecode (structure, named "TaggedProfile").
static void write(OutputStream output, TaggedProfile 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

TaggedProfileHelper

public TaggedProfileHelper()
Method Detail

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.


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.

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.

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.

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.