Methods Summary |
---|
public static java.lang.String | extract(org.omg.CORBA.Any a)
return read (a.create_input_stream ());
|
public java.lang.String | get_id()
return _id;
|
public static java.lang.String | id()
return _id;
|
public static void | insert(org.omg.CORBA.Any a, java.lang.String that)
org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
a.type (type ());
write (out, that);
a.read_value (out.create_input_stream (), type ());
|
public static java.lang.String | read(org.omg.CORBA.portable.InputStream istream)
if (!(istream instanceof org.omg.CORBA_2_3.portable.InputStream)) {
throw new org.omg.CORBA.BAD_PARAM(); }
return (String) ((org.omg.CORBA_2_3.portable.InputStream) istream).read_value (_instance);
|
public java.io.Serializable | read_value(org.omg.CORBA.portable.InputStream istream)
String tmp;
tmp = istream.read_string ();
return (java.io.Serializable) tmp;
|
public static synchronized org.omg.CORBA.TypeCode | type()
if (__typeCode == null)
{
synchronized (org.omg.CORBA.TypeCode.class)
{
if (__typeCode == null)
{
if (__active)
{
return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
}
__active = true;
__typeCode = org.omg.CORBA.ORB.init ().create_string_tc (0);
__typeCode = org.omg.CORBA.ORB.init ().create_value_box_tc (_id, "StringValue", __typeCode);
__active = false;
}
}
}
return __typeCode;
|
public static void | write(org.omg.CORBA.portable.OutputStream ostream, java.lang.String value)
if (!(ostream instanceof org.omg.CORBA_2_3.portable.OutputStream)) {
throw new org.omg.CORBA.BAD_PARAM(); }
((org.omg.CORBA_2_3.portable.OutputStream) ostream).write_value (value, _instance);
|
public void | write_value(org.omg.CORBA.portable.OutputStream ostream, java.io.Serializable value)
if (!(value instanceof String)) {
throw new org.omg.CORBA.MARSHAL(); }
String valueType = (String) value;
ostream.write_string (valueType);
|