40 |
|
|
41 |
import gnu.CORBA.CDR.Vio; |
import gnu.CORBA.CDR.Vio; |
42 |
|
|
43 |
|
import org.omg.CORBA.MARSHAL; |
44 |
import org.omg.CORBA.portable.BoxedValueHelper; |
import org.omg.CORBA.portable.BoxedValueHelper; |
45 |
|
import org.omg.CORBA.portable.ValueFactory; |
46 |
|
|
47 |
import java.io.Serializable; |
import java.io.Serializable; |
48 |
|
|
172 |
*/ |
*/ |
173 |
public Serializable read_value(Serializable unitialised_value) |
public Serializable read_value(Serializable unitialised_value) |
174 |
{ |
{ |
175 |
return Vio.read(this, unitialised_value); |
return (Serializable) Vio.read(this, unitialised_value, null); |
176 |
} |
} |
177 |
|
|
178 |
/** |
/** |
192 |
*/ |
*/ |
193 |
public Serializable read_value(String repository_id) |
public Serializable read_value(String repository_id) |
194 |
{ |
{ |
195 |
return ((org.omg.CORBA_2_3.ORB) orb()).lookup_value_factory(repository_id) |
ValueFactory factory = |
196 |
.read_value(this); |
((org.omg.CORBA_2_3.ORB) orb()).lookup_value_factory(repository_id); |
197 |
|
if (factory == null) |
198 |
|
throw new MARSHAL("No factory"); |
199 |
|
return (Serializable) Vio.read(this, null, factory); |
200 |
} |
} |
201 |
|
|
202 |
/** |
/** |
208 |
*/ |
*/ |
209 |
public Serializable read_value(BoxedValueHelper helper) |
public Serializable read_value(BoxedValueHelper helper) |
210 |
{ |
{ |
211 |
return helper.read_value(this); |
return Vio.read(this, helper); |
212 |
} |
} |
213 |
} |
} |