org.omg.CORBA
public abstract class PolicyListHelper extends Object
Policy
[].Constructor and Description |
---|
PolicyListHelper() |
Modifier and Type | Method and Description |
---|---|
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[] |
read(InputStream input)
Read the sequence of policies from the CDR intput stream.
|
static TypeCode |
type()
Get the type code of the
Policy []. |
static void |
write(OutputStream output,
Policy[] value)
Write the sequence of policies from the CDR intput stream.
|
public PolicyListHelper()
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[] read(InputStream input)
PolicyHelper
.input
- a org.omg.CORBA.portable stream to read from.public static void write(OutputStream output, Policy[] value)
PolicyHelper
.output
- a org.omg.CORBA.portable stream stream to write into.value
- a policy array to write.