com.hp.hpl.jena.sparql.core
Class DatasetGraphFactory

java.lang.Object
  extended by com.hp.hpl.jena.sparql.core.DatasetGraphFactory

public class DatasetGraphFactory
extends Object


Constructor Summary
DatasetGraphFactory()
           
 
Method Summary
static DatasetGraph create(DatasetGraph dsg)
          Create a DatasetGraph based on an existing one; this is a structre copy of the dataset struture but graphs are shared
static DatasetGraph create(com.hp.hpl.jena.graph.Graph graph)
          Create a DatasetGraph starting with a single graph.
static DatasetGraph createMem()
          Create a DatasetGraph which has all graphs in memory.
static DatasetGraph createOneGraph(com.hp.hpl.jena.graph.Graph graph)
          Create a DatasetGraph which only ever has a single default graph.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatasetGraphFactory

public DatasetGraphFactory()
Method Detail

create

public static DatasetGraph create(DatasetGraph dsg)
Create a DatasetGraph based on an existing one; this is a structre copy of the dataset struture but graphs are shared


create

public static DatasetGraph create(com.hp.hpl.jena.graph.Graph graph)
Create a DatasetGraph starting with a single graph.


createOneGraph

public static DatasetGraph createOneGraph(com.hp.hpl.jena.graph.Graph graph)
Create a DatasetGraph which only ever has a single default graph.


createMem

public static DatasetGraph createMem()
Create a DatasetGraph which has all graphs in memory.



Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010 Epimorphics Ltd.