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 ; }
Returns a list with all the defined serialization formats