Class Factory

java.lang.Object
org.apache.jena.graph.Factory

public class Factory extends Object
A factory class for creating Graphs.
  • Method Details

    • createDefaultGraph

      public static Graph createDefaultGraph()
      Answer a memory-based Graph.
    • createGraphMem

      public static Graph createGraphMem()
    • createGraphMemWithTransactionHandler

      @Deprecated public static Graph createGraphMemWithTransactionHandler(TransactionHandler th)
      Deprecated.
      To be removed
    • empty

      public static Graph empty()
      Immutable graph with no triples