{
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, persistedToolchains.getModelEncoding() );
serializer.startDocument( persistedToolchains.getModelEncoding(), null );
writePersistedToolchains( persistedToolchains, "toolchains", serializer );
serializer.endDocument();
} //-- void write( OutputStream, PersistedToolchains )
/**