org.objectweb.david.apis.presentation
Class DavidOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byorg.omg.CORBA.portable.OutputStream
          extended byorg.omg.CORBA_2_3.portable.OutputStream
              extended byorg.objectweb.david.apis.presentation.DavidOutputStream
All Implemented Interfaces:
org.omg.CORBA.DataOutputStream, Marshaller
Direct Known Subclasses:
PortableMarshallerFactory.PortableMarshaller

public abstract class DavidOutputStream
extends org.omg.CORBA_2_3.portable.OutputStream
implements Marshaller, org.omg.CORBA.DataOutputStream

Extension of the CORBA OutputStream class.


Constructor Summary
DavidOutputStream()
           
 
Method Summary
 java.lang.String[] _truncatable_ids()
           
abstract  void close()
          Closes the stream.
abstract  void endEncapsulation(int encapsulation_spec)
           
abstract  int startEncapsulation()
           
 void write_Principal(org.omg.CORBA.Principal value)
          Deprecated.  
 
Methods inherited from class org.omg.CORBA_2_3.portable.OutputStream
write_abstract_interface, write_value, write_value, write_value, write_value
 
Methods inherited from class org.omg.CORBA.portable.OutputStream
create_input_stream, orb, write_any, write_boolean_array, write_boolean, write_char_array, write_char, write_Context, write_double_array, write_double, write_fixed, write_float_array, write_float, write_long_array, write_long, write_longlong_array, write_longlong, write_Object, write_octet_array, write_octet, write_short_array, write_short, write_string, write_TypeCode, write_ulong_array, write_ulong, write_ulonglong_array, write_ulonglong, write_ushort_array, write_ushort, write_wchar_array, write_wchar, write_wstring, write
 
Methods inherited from class java.io.OutputStream
flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.jonathan.apis.presentation.Marshaller
getContext, getOffset, getState, isLittleEndian, outputStream, reset, sameContents, setOffset, write, writeBoolean, writeByte, writeByteArray, writeChar16, writeChar8, writeDouble, writeFloat, writeInt, writeLong, writeReference, writeShort, writeString16, writeString8, writeValue
 
Methods inherited from interface org.omg.CORBA.DataOutputStream
write_Abstract, write_any_array, write_any, write_boolean_array, write_boolean, write_char_array, write_char, write_double_array, write_double, write_float_array, write_float, write_long_array, write_long, write_longdouble, write_longlong_array, write_longlong, write_Object, write_octet_array, write_octet, write_short_array, write_short, write_string, write_TypeCode, write_ulong_array, write_ulong, write_ulonglong_array, write_ulonglong, write_ushort_array, write_ushort, write_Value, write_wchar_array, write_wchar, write_wstring
 

Constructor Detail

DavidOutputStream

public DavidOutputStream()
Method Detail

write_Principal

public void write_Principal(org.omg.CORBA.Principal value)
Deprecated.  

Not implemented: throws a NO_IMPLEMENT exception.

Parameters:
value - a Principal instance.

_truncatable_ids

public java.lang.String[] _truncatable_ids()

close

public abstract void close()
Closes the stream.

This method has been added here to solve an exception conflict between OutputStream and Marshaller.

Specified by:
close in interface Marshaller

startEncapsulation

public abstract int startEncapsulation()
                                throws org.objectweb.jonathan.apis.kernel.JonathanException
Throws:
org.objectweb.jonathan.apis.kernel.JonathanException

endEncapsulation

public abstract void endEncapsulation(int encapsulation_spec)
                               throws org.objectweb.jonathan.apis.kernel.JonathanException
Throws:
org.objectweb.jonathan.apis.kernel.JonathanException