org.omg.CORBA
Class PolicyTypeHelper
java.lang.Object
|
+--org.omg.CORBA.PolicyTypeHelper
- public class PolicyTypeHelper
- extends java.lang.Object
Helper class for : PolicyType
- Author:
- OpenORB Compiler
Method Summary |
static int |
extract(Any a)
Extract PolicyType from an any |
static java.lang.String |
id()
Return the PolicyType IDL ID |
static void |
insert(Any a,
int t)
Insert PolicyType into an any |
static int |
read(InputStream istream)
Read PolicyType from a marshalled stream |
static TypeCode |
type()
Return the PolicyType TypeCode |
static void |
write(OutputStream ostream,
int value)
Write PolicyType into a marshalled stream |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyTypeHelper
public PolicyTypeHelper()
insert
public static void insert(Any a,
int t)
- Insert PolicyType into an any
- Parameters:
a
- an anyt
- PolicyType value
extract
public static int extract(Any a)
- Extract PolicyType from an any
- Parameters:
a
- an any- Returns:
- the extracted PolicyType value
type
public static TypeCode type()
- Return the PolicyType TypeCode
- Returns:
- a TypeCode
id
public static java.lang.String id()
- Return the PolicyType IDL ID
- Returns:
- an ID
read
public static int read(InputStream istream)
- Read PolicyType from a marshalled stream
- Parameters:
istream
- the input stream- Returns:
- the readed PolicyType value
write
public static void write(OutputStream ostream,
int value)
- Write PolicyType into a marshalled stream
- Parameters:
ostream
- the output streamvalue
- PolicyType value