|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.DynamicAny.DynAnySeqHelper
public abstract class DynAnySeqHelper
A helper operations for the array of DynAny
(DynAny[]).
Following the 1.5 JDK specifications, DynAny (and hence an sequence of
DynAny's) is always a local object, so the two methods of this helper
(read(org.omg.CORBA.portable.InputStream)
and write(org.omg.CORBA.portable.OutputStream, org.omg.DynamicAny.DynAny[])
are not in use, always throwing
MARSHAL
.
Constructor Summary | |
---|---|
DynAnySeqHelper()
|
Method Summary | |
---|---|
static DynAny[] |
extract(Any any)
Extract the DynAnySeq from given Any. |
static String |
id()
Get the DynAnySeq repository id. |
static void |
insert(Any any,
DynAny[] those)
Insert the DynAnySeq into the given Any. |
static DynAny[] |
read(InputStream input)
The method should read this object from the CDR input stream, but (following the JDK 1.5 API) it does not. |
static TypeCode |
type()
|
static void |
write(OutputStream output,
DynAny[] value)
The method should write this object to the CDR input stream, but (following the JDK 1.5 API) it does not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynAnySeqHelper()
Method Detail |
---|
public static TypeCode type()
public static void insert(Any any, DynAny[] those)
any
- the Any to insert into.those
- the DynAny[] to insert.public static DynAny[] extract(Any any)
BAD_OPERATION
- if the passed Any does not contain DynAnySeq.public static String id()
public static DynAny[] read(InputStream input)
input
- a org.omg.CORBA.portable stream to read from.
MARSHAL
- always.public static void write(OutputStream output, DynAny[] value)
output
- a org.omg.CORBA.portable stream to write into.
MARSHAL
- always.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |