public abstract class CodecFactoryHelper extends Object
CodecFactory.| Constructor and Description |
|---|
CodecFactoryHelper() |
| Modifier and Type | Method and Description |
|---|---|
static CodecFactory |
extract(Any any)
Extract the CodecFactory from given Any.
|
static String |
id()
Get the CodecFactory repository id.
|
static void |
insert(Any any,
CodecFactory that)
Insert the CodecFactory into the given Any.
|
static CodecFactory |
narrow(Object obj)
Cast the passed object into the CodecFactory.
|
static CodecFactory |
read(InputStream input)
This should read the CodecFactory from the CDR intput stream,
but this is not possible as CodecFactory is a local object.
|
static TypeCode |
type()
Get the type code of the
CodecFactory. |
static CodecFactory |
unchecked_narrow(Object obj)
Narrow the given object to the CodecFactory.
|
static void |
write(OutputStream output,
CodecFactory value)
This should write the CodecFactory from the CDR intput stream,
but this is not possible as CodecFactory is a local object.
|
public CodecFactoryHelper()
public static TypeCode type()
CodecFactory.public static void insert(Any any, CodecFactory that)
any - the Any to insert into.that - the CodecFactory to insert.public static CodecFactory extract(Any any)
BAD_OPERATION - if the passed Any does not contain CodecFactory.public static String id()
public static CodecFactory narrow(Object obj)
BAD_PARAM - if the passed object is not a CodecFactory.public static CodecFactory unchecked_narrow(Object obj)
narrow(org.omg.CORBA.Object) (ClassCastException will be thrown if narrowing something
different). See OMG issue 4158.obj - the object to cast.public static CodecFactory read(InputStream input)
MARSHAL, - minor code 0 and incomplete, always.public static void write(OutputStream output, CodecFactory value)
MARSHAL, - minor code 0 and incomplete, always.