185186187188189190191192193194195
((TextMarshaller)msh).setVersion(3); } if (m_bCompressed) { ostream = new GZIPOutputStream(new NoCloseOutputStream(ostream)); } Writer writer = IOUtil.openBufferedWriter(ostream, XMLUtil.ENCODING); msh.serialize(obj, writer);