XActiveDataSink markIn = (XActiveDataSink)
UnoRuntime.queryInterface(XActiveDataSink.class, minstream);
XActiveDataSink inStream = (XActiveDataSink)
UnoRuntime.queryInterface(XActiveDataSink.class, istream);
XInputStream markInStream = (XInputStream)
UnoRuntime.queryInterface(XInputStream.class, minstream);
final XOutputStream PipeOut = (XOutputStream)
UnoRuntime.queryInterface(XOutputStream.class,aPipe);
final XInputStream PipeIn = (XInputStream)
UnoRuntime.queryInterface(XInputStream.class,aPipe);
markIn.setInputStream(PipeIn);
inStream.setInputStream(markInStream);
XObjectInputStream objInputStream = (XObjectInputStream)