|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.omg.CORBA.ValueBaseHelper
public abstract class ValueBaseHelper
A helper operations for the value base type (ValueBase).
| Constructor Summary | |
|---|---|
ValueBaseHelper()
|
|
| Method Summary | |
|---|---|
static Serializable |
extract(Any a)
Extract the value type from the given Any. |
static String |
id()
Return the value base helper repository id. |
static void |
insert(Any a,
Serializable that)
Insert the value base that is Serializable into the given Any. |
static Serializable |
read(InputStream input)
Read the value base from the given input stream. |
static TypeCode |
type()
Get the typecode of the value type. |
static void |
write(OutputStream output,
Serializable value)
Write the value base into the given stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValueBaseHelper()
| Method Detail |
|---|
public static Serializable extract(Any a)
a - the Any to extract from.
public static String id()
public static void insert(Any a,
Serializable that)
a - the Any to insert into.that - the value base to insert.public static Serializable read(InputStream input)
input - a stream to read from.
MARSHAL - if the reading has failed due any reason.public static TypeCode type()
public static void write(OutputStream output,
Serializable value)
CustomMarshal,
the helper uses CustomMarshal.marshal(org.omg.CORBA.DataOutputStream)
to write the content in a user defined way. Otherwise,
this implementation initialises the ObjectOutputStream
and writes through it.
output - a stream to write to.value - a value to write.
MARSHAL - if the writing failed due any reason.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||