|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.omg.CORBA.PolicyHelper
public abstract class PolicyHelper
The helper operations for the
CORBA object Policy.
| Constructor Summary | |
|---|---|
PolicyHelper()
|
|
| Method Summary | |
|---|---|
static Policy |
extract(Any any)
Extract the Policy from given Any. |
static String |
id()
Get the Policy repository id. |
static void |
insert(Any any,
Policy that)
Insert the Policy into the given Any. |
static Policy |
narrow(Object obj)
Cast the passed object into the Policy. |
static Policy |
read(InputStream input)
Read the object from the CDR intput stream (IOR profile expected). |
static TypeCode |
type()
Get the type code of the Policy. |
static void |
write(OutputStream output,
Policy value)
Write the object to the CDR output stream (as IOR profile). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolicyHelper()
| Method Detail |
|---|
public static TypeCode type()
Policy.
public static void insert(Any any,
Policy that)
any - the Any to insert into.that - the Policy to insert.public static Policy extract(Any any)
BAD_OPERATION - if the passed Any does not contain Policy.public static String id()
public static Policy narrow(Object obj)
obj - the object to narrow.
BAD_PARAM - if the passed object is not a Policy.public static Policy read(InputStream input)
input - a org.omg.CORBA.portable stream to read from.
public static void write(OutputStream output,
Policy value)
output - a org.omg.CORBA.portable stream stream to write into.value - a value to write.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||