/** * Method write. * * @param stream * @param settings * @throws java.io.IOException */ public void write( OutputStream stream, Settings settings ) throws java.io.IOException { XmlSerializer serializer = new MXSerializer(); serializer.setProperty( "http://xmlpull.org/v1/doc/properties.html#serializer-indentation", " " ); serializer.setProperty( "http://xmlpull.org/v1/doc/properties.html#serializer-line-separator", "\n" ); serializer.setOutput( stream, settings.getModelEncoding() ); serializer.startDocument( settings.getModelEncoding(), null ); writeSettings( settings, "svn-settings", serializer ); serializer.endDocument(); } //-- void write( OutputStream, Settings )
/** * Method write. * * @param stream * @param settings * @throws java.io.IOException */ public void write( OutputStream stream, Settings settings ) throws java.io.IOException { XmlSerializer serializer = new MXSerializer(); serializer.setProperty( "http://xmlpull.org/v1/doc/properties.html#serializer-indentation", " " ); serializer.setProperty( "http://xmlpull.org/v1/doc/properties.html#serializer-line-separator", "\n" ); serializer.setOutput( stream, settings.getModelEncoding() ); serializer.startDocument( settings.getModelEncoding(), null ); writeSettings( settings, "svn-settings", serializer ); serializer.endDocument(); } //-- void write( OutputStream, Settings )
/** * Method write. * * @param writer * @param settings * @throws java.io.IOException */ public void write( Writer writer, Settings settings ) throws java.io.IOException { XmlSerializer serializer = new MXSerializer(); serializer.setProperty( "http://xmlpull.org/v1/doc/properties.html#serializer-indentation", " " ); serializer.setProperty( "http://xmlpull.org/v1/doc/properties.html#serializer-line-separator", "\n" ); serializer.setOutput( writer ); serializer.startDocument( settings.getModelEncoding(), null ); writeSettings( settings, "svn-settings", serializer ); serializer.endDocument(); } //-- void write( Writer, Settings )
/** * Method write. * * @param writer * @param settings * @throws java.io.IOException */ public void write( Writer writer, Settings settings ) throws java.io.IOException { XmlSerializer serializer = new MXSerializer(); serializer.setProperty( "http://xmlpull.org/v1/doc/properties.html#serializer-indentation", " " ); serializer.setProperty( "http://xmlpull.org/v1/doc/properties.html#serializer-line-separator", "\n" ); serializer.setOutput( writer ); serializer.startDocument( settings.getModelEncoding(), null ); writeSettings( settings, "svn-settings", serializer ); serializer.endDocument(); } //-- void write( Writer, Settings )