code: public static void exports(Media media, Collection<Media> levels, Media sheetsConfig, Media groupsConfig)
      {
          Check.notNull(media);
          Check.notNull(levels);
          Check.notNull(sheetsConfig);
          Check.notNull(groupsConfig);
  
          final CircuitsExtractor extractor = new CircuitsExtractorImpl();
          final Map<Circuit, Collection<TileRef>> circuits = extractor.getCircuits(levels, sheetsConfig, groupsConfig);
          exports(media, circuits);
      }
docs: Export all circuits to an XML file.
  
  @param media The export output (must not be <code>null</code>).
  @param levels The level rips used (must not be <code>null</code>).
  @param sheetsConfig The sheets media (must not be <code>null</code>).
  @param groupsConfig The groups media (must not be <code>null</code>).
  @throws LionEngineException If error on export.