/** * <code>start_value</code> implements ValueOutputStream JavaToIDL mapping 02-01-12. * It should end any currently open chunk, write a valuetype header for a nested custom valuetype * (with a null codebase and the specified repository ID), and increment the valuetype nesting depth. * * @param rep_id */ @Override public void start_value (String rep_id) { write_value_header (new String[] {rep_id}); start_chunk(); }
@Override public void write_value(final java.io.Serializable value, final org.omg.CORBA.portable.BoxedValueHelper factory) { if (!write_special_value (value)) { write_previous_chunk_size(); check(7,4); getValueMap().put (value, Integer.valueOf(size())); if (((value instanceof org.omg.CORBA.portable.IDLEntity) || isSimpleString(value, factory))) { write_long (0x7fffff00 | chunkingFlag); } else { // repository id is required for RMI: types write_long (0x7fffff02 | chunkingFlag); final String repId = factory.get_id(); write_repository_id (repId); } start_chunk(); factory.write_value (this, value); end_chunk(); } }
(repository_id == null) ? null : new String[]{ repository_id }; write_value_header(repository_ids); start_chunk(); write_wstring((String)value); end_chunk(); }; write_value_header(repository_ids); start_chunk(); write_value(ValueHandler.getCodebase((Class)value)); write_value(ValueHandler.getRMIRepositoryID((Class)value)); start_chunk(); ((org.omg.CORBA.portable.StreamableValue)value)._write(this); end_chunk(); start_chunk(); if (writeMethod == null) start_chunk();