StarOffice 5.2 API
reverse engineered by classdoc

com.sun.star.lib.uno.protocols.iiop
Class Marshal

java.lang.Object
  |
  +--com.sun.star.lib.uno.protocols.iiop.CDROutputStream
        |
        +--com.sun.star.lib.uno.protocols.iiop.Marshal

public final synchronized class Marshal
extends com.sun.star.lib.uno.protocols.iiop.CDROutputStream


Field Summary
static boolean DEBUG
           
protected  com.sun.star.uno.IBridge bridge
           
(package private) static java.lang.Class class$com$sun$star$corba$CorbaString8
           
(package private) static java.lang.Class class$com$sun$star$corba$ObjectKey
           
(package private) static java.lang.Class class$com$sun$star$corba$iiop$ProfileBody_1_1
           
(package private) static java.lang.Class class$com$sun$star$corba$iop$IOR
           
(package private) static java.lang.Class class$com$sun$star$uno$XInterface
           
(package private) static java.lang.Class class$java$lang$Exception
           
(package private) static java.lang.Class class$java$lang$Object
           
 
Fields inherited from class com.sun.star.lib.uno.protocols.iiop.CDROutputStream
DEFAULT_BUFFER_SIZE, buf, littleEndian, size
 
Constructor Summary
Marshal(boolean b, com.sun.star.uno.IBridge ib)
           
 
Method Summary
(package private) static java.lang.Class class$(java.lang.String s)
           
private static int classToIIOPTypeKind(java.lang.Class c)
           
 byte[] getBytes()
           
private  int getStructMemberCount(java.lang.Class c1, java.lang.Class c2)
           
private  void todo()
           
private  void writeAnyValue(java.lang.Object o, int i, java.lang.Class c)
           
private  void writeField(java.lang.reflect.Field f, java.lang.Object o)
           
private  void writeStruct(java.lang.Class c1, java.lang.Class c2, java.lang.Object o)
           
 void writeValue(java.lang.Object o, java.lang.Class c)
           
 void write_any(java.lang.Object o)
           
 void write_enum(com.sun.star.uno.Enum e)
           
 void write_exception(java.lang.Exception e)
           
 void write_objref(java.lang.Object o, java.lang.Class c)
           
 void write_sequence(java.lang.Object o)
           
 void write_struct(java.lang.Object o)
           
private  void write_structtypemembers(java.lang.Class c1, java.lang.Class c2)
           
private  int write_typecode(com.sun.star.uno.Type t)
           
private  void write_typecode(int i)
           
private  int write_typecode(java.lang.Class c)
           
 void write_union(com.sun.star.corba.CorbaUnion cu)
           
 
Methods inherited from class com.sun.star.lib.uno.protocols.iiop.CDROutputStream
alignAndReserve, getByteArray, getSize, grow, reset, writeTo, write_ascii, write_ascii_array, write_asciistring, write_boolean, write_boolean_array, write_double, write_double_array, write_float, write_float_array, write_long, write_long_array, write_longlong, write_longlong_array, write_octet, write_octet_array, write_short, write_short_array, write_unicode, write_unicode_array, write_unicodestring
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static boolean DEBUG

bridge

protected com.sun.star.uno.IBridge bridge

class$com$sun$star$corba$CorbaString8

static java.lang.Class class$com$sun$star$corba$CorbaString8

class$com$sun$star$corba$ObjectKey

static java.lang.Class class$com$sun$star$corba$ObjectKey

class$com$sun$star$corba$iiop$ProfileBody_1_1

static java.lang.Class class$com$sun$star$corba$iiop$ProfileBody_1_1

class$com$sun$star$corba$iop$IOR

static java.lang.Class class$com$sun$star$corba$iop$IOR

class$com$sun$star$uno$XInterface

static java.lang.Class class$com$sun$star$uno$XInterface

class$java$lang$Exception

static java.lang.Class class$java$lang$Exception

class$java$lang$Object

static java.lang.Class class$java$lang$Object
Constructor Detail

Marshal

public Marshal(boolean b,
               com.sun.star.uno.IBridge ib)
Method Detail

class$

static java.lang.Class class$(java.lang.String s)

classToIIOPTypeKind

private static int classToIIOPTypeKind(java.lang.Class c)

getBytes

public byte[] getBytes()

getStructMemberCount

private int getStructMemberCount(java.lang.Class c1,
                                 java.lang.Class c2)

todo

private void todo()

writeAnyValue

private void writeAnyValue(java.lang.Object o,
                           int i,
                           java.lang.Class c)
                    throws java.io.IOException,
                           java.lang.ClassNotFoundException

writeField

private void writeField(java.lang.reflect.Field f,
                        java.lang.Object o)
                 throws java.io.IOException,
                        java.lang.IllegalAccessException,
                        java.lang.ClassNotFoundException

writeStruct

private void writeStruct(java.lang.Class c1,
                         java.lang.Class c2,
                         java.lang.Object o)
                  throws java.io.IOException

writeValue

public void writeValue(java.lang.Object o,
                       java.lang.Class c)
                throws java.io.IOException

write_any

public void write_any(java.lang.Object o)
               throws java.io.IOException

write_enum

public void write_enum(com.sun.star.uno.Enum e)
                throws java.io.IOException

write_exception

public void write_exception(java.lang.Exception e)
                     throws java.io.IOException

write_objref

public void write_objref(java.lang.Object o,
                         java.lang.Class c)
                  throws java.io.IOException

write_sequence

public void write_sequence(java.lang.Object o)
                    throws java.io.IOException

write_struct

public void write_struct(java.lang.Object o)
                  throws java.io.IOException

write_structtypemembers

private void write_structtypemembers(java.lang.Class c1,
                                     java.lang.Class c2)
                              throws java.io.IOException

write_typecode

private int write_typecode(com.sun.star.uno.Type t)
                    throws java.io.IOException,
                           java.lang.ClassNotFoundException

write_typecode

private void write_typecode(int i)

write_typecode

private int write_typecode(java.lang.Class c)
                    throws java.io.IOException

write_union

public void write_union(com.sun.star.corba.CorbaUnion cu)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException

StarOffice 5.2 API
reverse engineered by classdoc