|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.IOP.CodecFactoryHelper
public abstract class CodecFactoryHelper
The helper operations for the
CORBA object CodecFactory
.
Constructor Summary | |
---|---|
CodecFactoryHelper()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CodecFactoryHelper()
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |