com :: sun :: star :: io :: interface XObjectOutputStream
- Base Interface
- com::sun::star::io::XDataOutputStream
- Description
- makes it possible to store the data and structure of runtime objects.
In every case all participating objects have to be stored or
loaded at the same time. To be able to load objects, for each object
class in the stream, a factory is needed. These factories are
XMultiServiceFactory , which are
registered at the global service manager.
- Example
-
Given: Object A refers to B, B to C and C to A and D. The order
of storing and loading these objects is irrelevant, but it must be
the same for each action:
- storing: A,B,C,D; loading: A,B,C,D is correct
- storing: B,A,C,D; loading: B,A,C,D is correct
- storing: C,A,B,D; loading: A,B,C,D is wrong
- storing: A,B,C,D; loading: A,B,C is wrong
Methods' Summary
|
writeObject |
writes an object to the stream.
|
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.