org.omg.CosTrading.LookupPackage
Class PreferenceHelper

java.lang.Object
  extended by org.omg.CosTrading.LookupPackage.PreferenceHelper

public class PreferenceHelper
extends java.lang.Object

Helper class for : Preference

Author:
OpenORB Compiler

Constructor Summary
PreferenceHelper()
           
 
Method Summary
static java.lang.String extract(org.omg.CORBA.Any a)
          Extract Preference from an any
static java.lang.String id()
          Return the Preference IDL ID
static void insert(org.omg.CORBA.Any a, java.lang.String t)
          Insert Preference into an any
static java.lang.String read(org.omg.CORBA.portable.InputStream istream)
          Read Preference from a marshalled stream
static org.omg.CORBA.TypeCode type()
          Return the Preference TypeCode
static void write(org.omg.CORBA.portable.OutputStream ostream, java.lang.String value)
          Write Preference into a marshalled stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferenceHelper

public PreferenceHelper()
Method Detail

insert

public static void insert(org.omg.CORBA.Any a,
                          java.lang.String t)
Insert Preference into an any

Parameters:
a - an any
t - Preference value

extract

public static java.lang.String extract(org.omg.CORBA.Any a)
Extract Preference from an any

Parameters:
a - an any
Returns:
the extracted Preference value

type

public static org.omg.CORBA.TypeCode type()
Return the Preference TypeCode

Returns:
a TypeCode

id

public static java.lang.String id()
Return the Preference IDL ID

Returns:
an ID

read

public static java.lang.String read(org.omg.CORBA.portable.InputStream istream)
Read Preference from a marshalled stream

Parameters:
istream - the input stream
Returns:
the readed Preference value

write

public static void write(org.omg.CORBA.portable.OutputStream ostream,
                         java.lang.String value)
Write Preference into a marshalled stream

Parameters:
ostream - the output stream
value - Preference value