Class SHACLCWriter

  • All Implemented Interfaces:
    org.apache.jena.riot.WriterGraphRIOT

    public class SHACLCWriter
    extends org.apache.jena.riot.writer.WriterGraphRIOTBase
    This is an incomplete converter from RDF graphs to SHACLC format that is barely tested. SHACLC only covers a subset of RDF and SHACL, so not all SHACL graphs can be meaningfully represented.
    Author:
    Holger Knublauch
    • Constructor Detail

      • SHACLCWriter

        public SHACLCWriter()
    • Method Detail

      • getLang

        public org.apache.jena.riot.Lang getLang()
      • warn

        protected void warn​(String message)
      • write

        public void write​(Writer out,
                          org.apache.jena.graph.Graph graph,
                          org.apache.jena.riot.system.PrefixMap prefixMap,
                          String baseURI,
                          org.apache.jena.sparql.util.Context context)
        Specified by:
        write in interface org.apache.jena.riot.WriterGraphRIOT
        Specified by:
        write in class org.apache.jena.riot.writer.WriterGraphRIOTBase
      • write

        public void write​(OutputStream out,
                          org.apache.jena.graph.Graph graph,
                          org.apache.jena.riot.system.PrefixMap prefixMap,
                          String baseURI,
                          org.apache.jena.sparql.util.Context context)
        Specified by:
        write in interface org.apache.jena.riot.WriterGraphRIOT
        Specified by:
        write in class org.apache.jena.riot.writer.WriterGraphRIOTBase