org.openorb.orb.io
Class TypeCodeValueBoxHelper
java.lang.Object
org.openorb.orb.io.TypeCodeValueBoxHelper
- All Implemented Interfaces:
- org.omg.CORBA.portable.BoxedValueHelper
- public class TypeCodeValueBoxHelper
- extends java.lang.Object
- implements org.omg.CORBA.portable.BoxedValueHelper
This helper class can be passed to streams to extract and insert
value box types as anys.
- Version:
- $Revision: 1.5 $ $Date: 2004/02/10 21:02:50 $
- Author:
- Chris Wood
Method Summary |
java.lang.String |
get_id()
|
org.omg.CORBA.TypeCode |
getTypeCode()
|
java.io.Serializable |
read_value(org.omg.CORBA.portable.InputStream is)
|
void |
write_value(org.omg.CORBA.portable.OutputStream output,
java.io.Serializable obj)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeCodeValueBoxHelper
public TypeCodeValueBoxHelper(org.omg.CORBA.ORB orb,
org.omg.CORBA.TypeCode tc)
throws org.omg.CORBA.TypeCodePackage.BadKind
- Throws:
org.omg.CORBA.TypeCodePackage.BadKind
- The specified typecode is
not a valuebox type.
getTypeCode
public org.omg.CORBA.TypeCode getTypeCode()
read_value
public java.io.Serializable read_value(org.omg.CORBA.portable.InputStream is)
- Specified by:
read_value
in interface org.omg.CORBA.portable.BoxedValueHelper
write_value
public void write_value(org.omg.CORBA.portable.OutputStream output,
java.io.Serializable obj)
- Specified by:
write_value
in interface org.omg.CORBA.portable.BoxedValueHelper
get_id
public java.lang.String get_id()
- Specified by:
get_id
in interface org.omg.CORBA.portable.BoxedValueHelper