315 |
* form of the plain (not a string-encoded) IOR profile without the |
* form of the plain (not a string-encoded) IOR profile without the |
316 |
* heading endian indicator. The responsible method for reading such |
* heading endian indicator. The responsible method for reading such |
317 |
* data is {@link IOR.write_no_endian}. |
* data is {@link IOR.write_no_endian}. |
318 |
|
* |
319 |
|
* The null value is written as defined in OMG specification |
320 |
|
* (zero length string, followed by an empty set of profiles). |
321 |
*/ |
*/ |
322 |
public void write_Object(org.omg.CORBA.Object x) |
public void write_Object(org.omg.CORBA.Object x) |
323 |
{ |
{ |
324 |
if (x instanceof ObjectImpl) |
if (x == null) |
325 |
|
{ |
326 |
|
IOR.write_null(this); |
327 |
|
return; |
328 |
|
} |
329 |
|
else if (x instanceof ObjectImpl) |
330 |
{ |
{ |
331 |
Delegate d = ((ObjectImpl) x)._get_delegate(); |
Delegate d = ((ObjectImpl) x)._get_delegate(); |
332 |
|
|