org.omg.CORBA
public abstract class AnySeqHelper extends Object
Method Summary | |
---|---|
static Any[] | extract(Any a)
Extract the array of {@link Any}'s from the
given {@link Any}. |
static String | id()
Returns the agreed Id, delegating functionality to
the {@link #type()}.id(). |
static void | insert(Any into, Any[] that)
Insert into the given {@link Any}[] into the
given {@link Any}. |
static Any[] | read(InputStream input)
Reads the {@link Any}[] from the CORBA input stream.
|
static TypeCode | type()
Creates and returns a new instance of the TypeCode,
corresponding the array of {@link Any}'s.
|
static void | write(OutputStream output, Any[] value)
Writes the array of {@link Any}'s into the given stream.
|
Parameters: a an Any to extract the array from.
Returns: the extracted array.
Throws: ClassCastException if the Any contains something other than the the {@link AnySeqHolder}.
Parameters: into the target Any. that the array to insert.
_read()
method.
Parameters: input the CORBA (not java.io) stream to read from.
Returns: the value from the stream.
Parameters: output the CORBA (not java.io) output stream to write. value the value that must be written.