org.omg.CosTrading.LookupPackage

Class PreferenceHelper

public class PreferenceHelper extends Object

Helper class for : Preference

Author: OpenORB Compiler

Method Summary
static Stringextract(Any a)
Extract Preference from an any
static Stringid()
Return the Preference IDL ID
static voidinsert(Any a, String t)
Insert Preference into an any
static Stringread(InputStream istream)
Read Preference from a marshalled stream
static TypeCodetype()
Return the Preference TypeCode
static voidwrite(OutputStream ostream, String value)
Write Preference into a marshalled stream

Method Detail

extract

public static String extract(Any a)
Extract Preference from an any

Parameters: a an any

Returns: the extracted Preference value

id

public static String id()
Return the Preference IDL ID

Returns: an ID

insert

public static void insert(Any a, String t)
Insert Preference into an any

Parameters: a an any t Preference value

read

public static String read(InputStream istream)
Read Preference from a marshalled stream

Parameters: istream the input stream

Returns: the readed Preference value

type

public static TypeCode type()
Return the Preference TypeCode

Returns: a TypeCode

write

public static void write(OutputStream ostream, String value)
Write Preference into a marshalled stream

Parameters: ostream the output stream value Preference value