Class WriterGraphRIOT_HDT

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

    public class WriterGraphRIOT_HDT
    extends org.apache.jena.riot.writer.WriterGraphRIOTBase
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static String encode​(org.apache.jena.graph.Node node, String baseURI, org.apache.jena.riot.system.PrefixMap prefixMap)
      Encode for HDT; IRIs do not make use of angular brackets otherwise it is turtle syntax
      static org.rdfhdt.hdt.triples.TripleString encode​(org.apache.jena.graph.Triple triple, String baseURI, org.apache.jena.riot.system.PrefixMap prefixMap)  
      org.apache.jena.riot.Lang getLang()  
      void write​(OutputStream out, org.apache.jena.graph.Graph graph, org.apache.jena.riot.system.PrefixMap prefixMap, String rawBaseURI, org.apache.jena.sparql.util.Context context)  
      void write​(Writer writer, org.apache.jena.graph.Graph graph, org.apache.jena.riot.system.PrefixMap prefixMap, String baseURI, org.apache.jena.sparql.util.Context context)  
    • Constructor Detail

      • WriterGraphRIOT_HDT

        public WriterGraphRIOT_HDT()
    • Method Detail

      • getLang

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

        public void write​(Writer writer,
                          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
      • encode

        public static String encode​(org.apache.jena.graph.Node node,
                                    String baseURI,
                                    org.apache.jena.riot.system.PrefixMap prefixMap)
        Encode for HDT; IRIs do not make use of angular brackets otherwise it is turtle syntax
      • encode

        public static org.rdfhdt.hdt.triples.TripleString encode​(org.apache.jena.graph.Triple triple,
                                                                 String baseURI,
                                                                 org.apache.jena.riot.system.PrefixMap prefixMap)
      • write

        public void write​(OutputStream out,
                          org.apache.jena.graph.Graph graph,
                          org.apache.jena.riot.system.PrefixMap prefixMap,
                          String rawBaseURI,
                          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