FileDocCategorySizeDatePackage
DataOutputStream.javaAPI DocJava SE 5 API9220Fri Aug 26 14:58:28 BST 2005org.omg.CORBA

DataOutputStream

public interface DataOutputStream implements org.omg.CORBA.portable.ValueBase
Defines the methods used to write primitive data types to output streams for marshalling custom value types. This interface is used by user written custom marshalling code for custom value types.
see
org.omg.CORBA.DataInputStream
see
org.omg.CORBA.CustomMarshal
version
1.12 12/19/03

Fields Summary
Constructors Summary
Methods Summary
public voidwrite_Abstract(java.lang.Object value)
Writes the IDL Abstract interface type to the output stream.

param
value The value to be written.

public voidwrite_Object(org.omg.CORBA.Object value)
Writes the IDL CORBA::Object value to the output stream.

param
value The value to be written.

public voidwrite_TypeCode(org.omg.CORBA.TypeCode value)
Writes the typecode to the output stream.

param
value The value to be written.

public voidwrite_Value(java.io.Serializable value)
Writes the IDL value type value to the output stream.

param
value The value to be written.

public voidwrite_any(org.omg.CORBA.Any value)
Writes the Any value to the output stream.

param
value The value to be written.

public voidwrite_any_array(org.omg.CORBA.Any[] seq, int offset, int length)
Writes the array of IDL Anys from offset for length elements to the output stream.

param
seq The array to be written.
param
offset The index into seq of the first element to write to the output stream.
param
length The number of elements to write to the output stream.

public voidwrite_boolean(boolean value)
Writes the boolean value to the output stream.

param
value The value to be written.

public voidwrite_boolean_array(boolean[] seq, int offset, int length)
Writes the array of IDL booleans from offset for length elements to the output stream.

param
seq The array to be written.
param
offset The index into seq of the first element to write to the output stream.
param
length The number of elements to write to the output stream.

public voidwrite_char(char value)
Writes the IDL character value to the output stream.

param
value The value to be written.

public voidwrite_char_array(char[] seq, int offset, int length)
Writes the array of IDL characters from offset for length elements to the output stream.

param
seq The array to be written.
param
offset The index into seq of the first element to write to the output stream.
param
length The number of elements to write to the output stream.

public voidwrite_double(double value)
Writes the IDL double value to the output stream.

param
value The value to be written.

public voidwrite_double_array(double[] seq, int offset, int length)
Writes the array of IDL doubles from offset for length elements to the output stream.

param
seq The array to be written.
param
offset The index into seq of the first element to write to the output stream.
param
length The number of elements to write to the output stream.

public voidwrite_float(float value)
Writes the IDL float value to the output stream.

param
value The value to be written.

public voidwrite_float_array(float[] seq, int offset, int length)
Writes the array of IDL floats from offset for length elements to the output stream.

param
seq The array to be written.
param
offset The index into seq of the first element to write to the output stream.
param
length The number of elements to write to the output stream.

public voidwrite_long(int value)
Writes the IDL long value (represented as a Java int) to the output stream.

param
value The value to be written.

public voidwrite_long_array(int[] seq, int offset, int length)
Writes the array of IDL longs from offset for length elements to the output stream.

param
seq The array to be written.
param
offset The index into seq of the first element to write to the output stream.
param
length The number of elements to write to the output stream.

public voidwrite_longlong(long value)
Writes the IDL long long value (represented as a Java long) to the output stream.

param
value The value to be written.

public voidwrite_longlong_array(long[] seq, int offset, int length)
Writes the array of IDL long longs from offset for length elements to the output stream.

param
seq The array to be written.
param
offset The index into seq of the first element to write to the output stream.
param
length The number of elements to write to the output stream.

public voidwrite_octet(byte value)
Writes the IDL octet value (represented as a Java byte) to the output stream.

param
value The value to be written.

public voidwrite_octet_array(byte[] seq, int offset, int length)
Writes the array of IDL octets from offset for length elements to the output stream.

param
seq The array to be written.
param
offset The index into seq of the first element to write to the output stream.
param
length The number of elements to write to the output stream.

public voidwrite_short(short value)
Writes the IDL short value to the output stream.

param
value The value to be written.

public voidwrite_short_array(short[] seq, int offset, int length)
Writes the array of IDL shorts from offset for length elements to the output stream.

param
seq The array to be written.
param
offset The index into seq of the first element to write to the output stream.
param
length The number of elements to write to the output stream.

public voidwrite_string(java.lang.String value)
Writes the IDL string value to the output stream.

param
value The value to be written.

public voidwrite_ulong(int value)
Writes the IDL unsigned long value (represented as a Java int) to the output stream.

param
value The value to be written.

public voidwrite_ulong_array(int[] seq, int offset, int length)
Writes the array of IDL unsigned longs (represented as Java ints) from offset for length elements to the output stream.

param
seq The array to be written.
param
offset The index into seq of the first element to write to the output stream.
param
length The number of elements to write to the output stream.

public voidwrite_ulonglong(long value)
Writes the IDL unsigned long long value (represented as a Java long) to the output stream.

param
value The value to be written.

public voidwrite_ulonglong_array(long[] seq, int offset, int length)
Writes the array of IDL unsigned long longs (represented as Java longs) from offset for length elements to the output stream.

param
seq The array to be written.
param
offset The index into seq of the first element to write to the output stream.
param
length The number of elements to write to the output stream.

public voidwrite_ushort(short value)
Writes the IDL unsigned short value (represented as a Java short value) to the output stream.

param
value The value to be written.

public voidwrite_ushort_array(short[] seq, int offset, int length)
Writes the array of IDL unsigned shorts (represented as Java shorts) from offset for length elements to the output stream.

param
seq The array to be written.
param
offset The index into seq of the first element to write to the output stream.
param
length The number of elements to write to the output stream.

public voidwrite_wchar(char value)
Writes the IDL wide character value to the output stream.

param
value The value to be written.

public voidwrite_wchar_array(char[] seq, int offset, int length)
Writes the array of IDL wide characters from offset for length elements to the output stream.

param
seq The array to be written.
param
offset The index into seq of the first element to write to the output stream.
param
length The number of elements to write to the output stream.

public voidwrite_wstring(java.lang.String value)
Writes the IDL wide string value (represented as a Java String) to the output stream.

param
value The value to be written.