public abstract class NameDynAnyPairHelper extends Object
NameDynAnyPair
.
Following the 1.5 JDK specifications, DynAny (and hence any structure,
containing DynAny) 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.NameDynAnyPair)
are not in use, always throwing
MARSHAL
.Constructor and Description |
---|
NameDynAnyPairHelper() |
Modifier and Type | Method and Description |
---|---|
static NameDynAnyPair |
extract(Any any)
Extract the NameDynAnyPair from given Any.
|
static String |
id()
Get the NameDynAnyPair repository id.
|
static void |
insert(Any any,
NameDynAnyPair that)
Insert the NameDynAnyPair into the given Any.
|
static NameDynAnyPair |
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()
Create the NameDynAnyPair typecode (structure,
named "NameDynAnyPair").
|
static void |
write(OutputStream output,
NameDynAnyPair value)
The method should write this object to the CDR input stream, but
(following the JDK 1.5 API) it does not.
|
public NameDynAnyPairHelper()
public static NameDynAnyPair extract(Any any)
BAD_OPERATION
- if the passed Any does not contain NameDynAnyPair.public static String id()
public static TypeCode type()
public static void insert(Any any, NameDynAnyPair that)
any
- the Any to insert into.that
- the NameDynAnyPair to insert.public static NameDynAnyPair read(InputStream input)
input
- a org.omg.CORBA.portable stream to read from.MARSHAL
- always.public static void write(OutputStream output, NameDynAnyPair value)
output
- a org.omg.CORBA.portable stream to write into.MARSHAL
- always.