Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.omg.IOP
Class ProfileIdHelper  view ProfileIdHelper download ProfileIdHelper.java

java.lang.Object
  extended byorg.omg.IOP.ProfileIdHelper

public abstract class ProfileIdHelper
extends java.lang.Object

A helper operations for th Profile id. A Profile Id is an integer constant and needs no helper, but the one is included to to facilitate the automated code handling.


Constructor Summary
ProfileIdHelper()
           
 
Method Summary
static int extract(org.omg.CORBA.Any any)
          Extract the int from given Any.
static java.lang.String id()
          Get the int repository id.
static void insert(org.omg.CORBA.Any any, int that)
          Insert the int into the given Any.
static int read(org.omg.CORBA.portable.InputStream input)
          Read the ProfileId from the CDR intput stream.
static org.omg.CORBA.TypeCode type()
          Create the ProfileId typecode (alias of CORBA ulong, named "ProfileId".
static void write(org.omg.CORBA.portable.OutputStream output, int value)
          Write the ProfileId 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

ProfileIdHelper

public ProfileIdHelper()
Method Detail

type

public static org.omg.CORBA.TypeCode type()
Create the ProfileId typecode (alias of CORBA ulong, named "ProfileId".


insert

public static void insert(org.omg.CORBA.Any any,
                          int that)
Insert the int into the given Any.


extract

public static int extract(org.omg.CORBA.Any any)
Extract the int from given Any. This method uses the ProfileContextHolder.


id

public static java.lang.String id()
Get the int repository id.


read

public static int read(org.omg.CORBA.portable.InputStream input)
Read the ProfileId from the CDR intput stream.


write

public static void write(org.omg.CORBA.portable.OutputStream output,
                         int value)
Write the ProfileId to the CDR output stream.