Class WriterStreamRDFBaseUtils

java.lang.Object
org.aksw.jenax.arq.util.streamrdf.WriterStreamRDFBaseUtils

public class WriterStreamRDFBaseUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.jena.riot.system.PrefixMap
    getPrefixMap(org.apache.jena.riot.writer.WriterStreamRDFBase writer)
    Return the internal prefix map
    static void
    setBaseIRI(org.apache.jena.riot.out.NodeFormatterTTL fmt, org.apache.jena.irix.IRIx baseIri)
     
    static void
    setNodeFormatter(org.apache.jena.riot.writer.WriterStreamRDFBase writer, org.apache.jena.riot.out.NodeFormatterTTL fmt)
     
    static void
    setNodeFormatterIRIx(org.apache.jena.riot.writer.WriterStreamRDFBase writer, org.apache.jena.irix.IRIx baseIri)
     
    static void
    setNodeToLabel(org.apache.jena.riot.writer.WriterStreamRDFBase writer, org.apache.jena.riot.out.NodeToLabel nodeToLabel)
    Hack to change the value of the WriterStreamRDFBase's final nodeToLabel field Source: https://stackoverflow.com/questions/3301635/change-private-static-final-field-using-java-reflection
    static void
    setPrefixMap(org.apache.jena.riot.writer.WriterStreamRDFBase writer, org.apache.jena.riot.system.PrefixMap pm)
    Replace the internal prefix map - enables injection of our trie-backed on
    static void
    updateFormatter(org.apache.jena.riot.writer.WriterStreamRDFBase writer)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WriterStreamRDFBaseUtils

      public WriterStreamRDFBaseUtils()
  • Method Details

    • setNodeToLabel

      public static void setNodeToLabel(org.apache.jena.riot.writer.WriterStreamRDFBase writer, org.apache.jena.riot.out.NodeToLabel nodeToLabel)
      Hack to change the value of the WriterStreamRDFBase's final nodeToLabel field Source: https://stackoverflow.com/questions/3301635/change-private-static-final-field-using-java-reflection
    • updateFormatter

      public static void updateFormatter(org.apache.jena.riot.writer.WriterStreamRDFBase writer)
    • setNodeFormatter

      public static void setNodeFormatter(org.apache.jena.riot.writer.WriterStreamRDFBase writer, org.apache.jena.riot.out.NodeFormatterTTL fmt)
    • setNodeFormatterIRIx

      public static void setNodeFormatterIRIx(org.apache.jena.riot.writer.WriterStreamRDFBase writer, org.apache.jena.irix.IRIx baseIri)
    • setBaseIRI

      public static void setBaseIRI(org.apache.jena.riot.out.NodeFormatterTTL fmt, org.apache.jena.irix.IRIx baseIri)
    • getPrefixMap

      public static org.apache.jena.riot.system.PrefixMap getPrefixMap(org.apache.jena.riot.writer.WriterStreamRDFBase writer)
      Return the internal prefix map
    • setPrefixMap

      public static void setPrefixMap(org.apache.jena.riot.writer.WriterStreamRDFBase writer, org.apache.jena.riot.system.PrefixMap pm)
      Replace the internal prefix map - enables injection of our trie-backed on