| java.lang.Object java.io.OutputStream org.omg.CORBA.portable.OutputStream
All known Subclasses: org.omg.CORBA_2_3.portable.OutputStream,
OutputStream | abstract public class OutputStream extends java.io.OutputStream (Code) | | OuputStream is the Java API for writing IDL types
to CDR marshal streams. These methods are used by the ORB to
marshal IDL types as well as to insert IDL types into Anys.
The _array versions of the methods can be directly
used to write sequences and arrays of IDL types.
version: 1.13, 04/22/98 since: JDK1.2 |
Method Summary | |
abstract public InputStream | create_input_stream() Returns an input stream with the same buffer. | public org.omg.CORBA.ORB | orb() Returns the ORB that created this OutputStream. | public void | write(int b) Writes an integer (length of arrays) onto this stream. | public void | write_Context(org.omg.CORBA.Context ctx, org.omg.CORBA.ContextList contexts) Writes a CORBA context on this stream. | abstract public void | write_Object(org.omg.CORBA.Object value) Writes a CORBA Object on this output stream. | public void | write_Principal(Principal value) Writes a Principle on this output stream. | abstract public void | write_TypeCode(TypeCode value) Writes a TypeCode on this output stream. | abstract public void | write_any(Any value) Writes an Any on this output stream. | abstract public void | write_boolean(boolean value) Writes a boolean value to this stream. | abstract public void | write_boolean_array(boolean[] value, int offset, int length) Writes an array of booleans on this output stream. | abstract public void | write_char(char value) Writes a char value to this stream. | abstract public void | write_char_array(char[] value, int offset, int length) Writes an array of chars on this output stream. | abstract public void | write_double(double value) Writes a double value to this stream. | abstract public void | write_double_array(double[] value, int offset, int length) Writes an array of doubles on this output stream. | public void | write_fixed(java.math.BigDecimal value) Writes a BigDecimal number. | abstract public void | write_float(float value) Writes a float value to this stream. | abstract public void | write_float_array(float[] value, int offset, int length) Writes an array of floats on this output stream. | abstract public void | write_long(int value) Writes a CORBA long (i.e. | abstract public void | write_long_array(int[] value, int offset, int length) Writes an array of CORBA longs (i.e. | abstract public void | write_longlong(long value) Writes a CORBA longlong (i.e. | abstract public void | write_longlong_array(long[] value, int offset, int length) Writes an array of CORBA longlongs (i.e. | abstract public void | write_octet(byte value) Writes a CORBA octet (i.e. | abstract public void | write_octet_array(byte[] value, int offset, int length) Writes an array of CORBA octets (bytes) on this output stream. | abstract public void | write_short(short value) Writes a short value to this stream. | abstract public void | write_short_array(short[] value, int offset, int length) Writes an array of shorts on this output stream. | abstract public void | write_string(String value) Writes a string value to this stream. | abstract public void | write_ulong(int value) Writes an unsigned CORBA long (i.e. | abstract public void | write_ulong_array(int[] value, int offset, int length) Writes an array of unsigned CORBA longs (i.e. | abstract public void | write_ulonglong(long value) Writes an unsigned CORBA longlong (i.e. | abstract public void | write_ulonglong_array(long[] value, int offset, int length) Writes an array of unsigned CORBA longlongs (i.e. | abstract public void | write_ushort(short value) Writes an unsigned short value to this stream. | abstract public void | write_ushort_array(short[] value, int offset, int length) Writes an array of unsigned shorts on this output stream. | abstract public void | write_wchar(char value) Writes a wide char value to this stream. | abstract public void | write_wchar_array(char[] value, int offset, int length) Writes an array of wide chars on this output stream. | abstract public void | write_wstring(String value) Writes a wide string value to this stream. |
create_input_stream | abstract public InputStream create_input_stream()(Code) | | Returns an input stream with the same buffer.
an input stream with the same buffer. |
write_Object | abstract public void write_Object(org.omg.CORBA.Object value)(Code) | | Writes a CORBA Object on this output stream.
Parameters: value - the value to be written. |
write_Principal | public void write_Principal(Principal value)(Code) | | Writes a Principle on this output stream.
Parameters: value - the value to be written. |
write_TypeCode | abstract public void write_TypeCode(TypeCode value)(Code) | | Writes a TypeCode on this output stream.
Parameters: value - the value to be written. |
write_any | abstract public void write_any(Any value)(Code) | | Writes an Any on this output stream.
Parameters: value - the value to be written. |
write_boolean | abstract public void write_boolean(boolean value)(Code) | | Writes a boolean value to this stream.
Parameters: value - the value to be written. |
write_boolean_array | abstract public void write_boolean_array(boolean[] value, int offset, int length)(Code) | | Writes an array of booleans on this output stream.
Parameters: value - the array to be written. Parameters: offset - offset on the stream. Parameters: length - length of buffer to write. |
write_char | abstract public void write_char(char value)(Code) | | Writes a char value to this stream.
Parameters: value - the value to be written. |
write_char_array | abstract public void write_char_array(char[] value, int offset, int length)(Code) | | Writes an array of chars on this output stream.
Parameters: value - the array to be written. Parameters: offset - offset on the stream. Parameters: length - length of buffer to write. |
write_double | abstract public void write_double(double value)(Code) | | Writes a double value to this stream.
Parameters: value - the value to be written. |
write_double_array | abstract public void write_double_array(double[] value, int offset, int length)(Code) | | Writes an array of doubles on this output stream.
Parameters: value - the array to be written. Parameters: offset - offset on the stream. Parameters: length - length of buffer to write. |
write_fixed | public void write_fixed(java.math.BigDecimal value)(Code) | | Writes a BigDecimal number.
Parameters: value - a BidDecimal--value to be written. |
write_float | abstract public void write_float(float value)(Code) | | Writes a float value to this stream.
Parameters: value - the value to be written. |
write_float_array | abstract public void write_float_array(float[] value, int offset, int length)(Code) | | Writes an array of floats on this output stream.
Parameters: value - the array to be written. Parameters: offset - offset on the stream. Parameters: length - length of buffer to write. |
write_long | abstract public void write_long(int value)(Code) | | Writes a CORBA long (i.e. Java int) value to this stream.
Parameters: value - the value to be written. |
write_long_array | abstract public void write_long_array(int[] value, int offset, int length)(Code) | | Writes an array of CORBA longs (i.e. Java ints) on this output stream.
Parameters: value - the array to be written. Parameters: offset - offset on the stream. Parameters: length - length of buffer to write. |
write_longlong | abstract public void write_longlong(long value)(Code) | | Writes a CORBA longlong (i.e. Java long) value to this stream.
Parameters: value - the value to be written. |
write_longlong_array | abstract public void write_longlong_array(long[] value, int offset, int length)(Code) | | Writes an array of CORBA longlongs (i.e. Java longs) on this output stream.
Parameters: value - the array to be written. Parameters: offset - offset on the stream. Parameters: length - length of buffer to write. |
write_octet | abstract public void write_octet(byte value)(Code) | | Writes a CORBA octet (i.e. byte) value to this stream.
Parameters: value - the value to be written. |
write_octet_array | abstract public void write_octet_array(byte[] value, int offset, int length)(Code) | | Writes an array of CORBA octets (bytes) on this output stream.
Parameters: value - the array to be written. Parameters: offset - offset on the stream. Parameters: length - length of buffer to write. |
write_short | abstract public void write_short(short value)(Code) | | Writes a short value to this stream.
Parameters: value - the value to be written. |
write_short_array | abstract public void write_short_array(short[] value, int offset, int length)(Code) | | Writes an array of shorts on this output stream.
Parameters: value - the array to be written. Parameters: offset - offset on the stream. Parameters: length - length of buffer to write. |
write_string | abstract public void write_string(String value)(Code) | | Writes a string value to this stream.
Parameters: value - the value to be written. |
write_ulong | abstract public void write_ulong(int value)(Code) | | Writes an unsigned CORBA long (i.e. Java int) value to this stream.
Parameters: value - the value to be written. |
write_ulong_array | abstract public void write_ulong_array(int[] value, int offset, int length)(Code) | | Writes an array of unsigned CORBA longs (i.e. Java ints) on this output stream.
Parameters: value - the array to be written. Parameters: offset - offset on the stream. Parameters: length - length of buffer to write. |
write_ulonglong | abstract public void write_ulonglong(long value)(Code) | | Writes an unsigned CORBA longlong (i.e. Java long) value to this stream.
Parameters: value - the value to be written. |
write_ulonglong_array | abstract public void write_ulonglong_array(long[] value, int offset, int length)(Code) | | Writes an array of unsigned CORBA longlongs (i.e. Java ints) on this output stream.
Parameters: value - the array to be written. Parameters: offset - offset on the stream. Parameters: length - length of buffer to write. |
write_ushort | abstract public void write_ushort(short value)(Code) | | Writes an unsigned short value to this stream.
Parameters: value - the value to be written. |
write_ushort_array | abstract public void write_ushort_array(short[] value, int offset, int length)(Code) | | Writes an array of unsigned shorts on this output stream.
Parameters: value - the array to be written. Parameters: offset - offset on the stream. Parameters: length - length of buffer to write. |
write_wchar | abstract public void write_wchar(char value)(Code) | | Writes a wide char value to this stream.
Parameters: value - the value to be written. |
write_wchar_array | abstract public void write_wchar_array(char[] value, int offset, int length)(Code) | | Writes an array of wide chars on this output stream.
Parameters: value - the array to be written. Parameters: offset - offset on the stream. Parameters: length - length of buffer to write. |
write_wstring | abstract public void write_wstring(String value)(Code) | | Writes a wide string value to this stream.
Parameters: value - the value to be written. |
|
|