org.omg.CORBA.portable
Interface BoxedValueHelper

All Known Implementing Classes:
StringValueHelper, WStringValueHelper

public interface BoxedValueHelper

Provides a helper operations for the boxed value type. A boxed value type is a value type with no inheritance, no methods and with a single state member. No additional properties can be defined. It is an error to box value types. The value type may have its own helper, implementing this interface.


Method Summary
 String get_id()
          Get the repository id of this value type.
 Serializable read_value(InputStream istream)
          Read this value type from the CDR stream.
 void write_value(OutputStream ostream, Serializable value)
          Write this value type to the CDR stream.
 

Method Detail

get_id

String get_id()
Get the repository id of this value type.

Returns:
a repository id.

read_value

Serializable read_value(InputStream istream)
Read this value type from the CDR stream.

Parameters:
istream - is a stream to read from.
Returns:
a loaded value type.

write_value

void write_value(OutputStream ostream,
                 Serializable value)
Write this value type to the CDR stream.

Parameters:
ostream - a stream to write to.
value - a value to write.