Skip to content

Commit

Permalink
Bind SHACLC language to format
Browse files Browse the repository at this point in the history
  • Loading branch information
afs committed May 17, 2022
1 parent 8f24a0a commit 302576a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ public static void init() {
if ( JenaSystem.DEBUG_INIT )
System.err.println("SHACLC.init - start");

// Lang.SHACLC is in RIOT RDFLanguages.
// Reader
ReaderRIOTFactory factoryReader = (Lang language, ParserProfile profile)->new ReaderRIOTShaclc();
RDFParserRegistry.registerLangTriples(Lang.SHACLC, factoryReader);

// Writer
WriterGraphRIOTFactory factoryWriter = (rdfFormat)->new WriterRIOTShaclc();
RDFWriterRegistry.register(Lang.SHACLC, RDFFormat.SHACLC);
RDFWriterRegistry.register(RDFFormat.SHACLC, factoryWriter);

if ( JenaSystem.DEBUG_INIT )
Expand Down

0 comments on commit 302576a

Please sign in to comment.