code: private void writeFFGlobalSettings(Database db, XmlStreamWriter writer)
              throws Exception {
          writer.writeStartElement("RDF:Description");
  
          writer.writeAttribute("RDF:about", RDFDatabaseReader.FF_GLOBAL_SETTINGS_URI);
  
          for (String key : db.getGlobalSettings().keySet()) {
              writer.writeAttribute(key, db.getGlobalSettings().get(key));
          }
  
          writer.writeEndElement();
      }
docs: Writes the firefox settings back.
  
  @param db     The database with the settings to write.
  @param writer The XML stream to write to.
  @throws Exception ... probably never.