org.omg.IOP
public abstract class CodecFactoryHelper extends Object
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 {@link 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.
|
Throws: BAD_OPERATION if the passed Any does not contain CodecFactory.
Returns: "IDL:omg.org/IOP/CodecFactory:1.0", always.
Parameters: any the Any to insert into. that the CodecFactory to insert.
Throws: BAD_PARAM if the passed object is not a CodecFactory.
Throws: MARSHAL, minor code 0 and incomplete, always.
UNKNOWN: Suns implementation (1.4) throws this exception either.
Parameters: obj the object to cast.
Returns: the casted CodecFactory.
Since: 1.5
Throws: MARSHAL, minor code 0 and incomplete, always.
UNKNOWN: Suns implementation (1.4) throws this exception either.