code: public static ILinkedDataFragmentWriter create(Map <String, String> prefixes, HashMap<String, IDataSource> datasources, String mimeType) throws IOException {
          switch (mimeType) {
              case HTML:
                  return new HtmlTriplePatternFragmentWriterImpl(prefixes, datasources);
              default:
                  return new RdfWriterImpl(prefixes, datasources, mimeType);
          }
      }
docs: Creates {@link ILinkedDataFragmentWriter} for a given mimeType
  
  @param prefixes Configured prefixes to be used in serialization
  @param datasources Configured datasources
  @param mimeType mimeType to create writer for
  @return created writer
  @throws IOException