code: public static Collection<SerializationFormat> getAllFormats() {
          ArrayList<SerializationFormat> serializationFormats = new ArrayList<>();
  
          // single graph formats
          serializationFormats.add(createTurtle());
          serializationFormats.add(createN3());
          serializationFormats.add(createNTriples());
          serializationFormats.add(createJsonLD());
          serializationFormats.add(createRDFJson());
          serializationFormats.add(createRDFXMLAbbrevOut());
          serializationFormats.add(createRDFXMLIn());
          serializationFormats.add(createRDFXMLOut());
          serializationFormats.add(createRDFa());
          serializationFormats.add(createHTML());
          serializationFormats.add(createJunitXml());
          
          // dataset formats
          serializationFormats.add(createNQads());
          serializationFormats.add(createTriG());
          serializationFormats.add(createTriX());
  
  
          return serializationFormats;
      }
docs: Returns a list with all the defined serialization formats
  
  @return a {@link java.util.Collection} object.