com.hp.hpl.jena.sparql.core
Class DynamicDatasets.DynamicDatasetGraph

java.lang.Object
  extended by com.hp.hpl.jena.sparql.core.DatasetGraphWrapper
      extended by com.hp.hpl.jena.sparql.core.DatasetGraphReadOnly
          extended by com.hp.hpl.jena.sparql.core.DynamicDatasets.DynamicDatasetGraph
All Implemented Interfaces:
DatasetGraph, Closeable, Sync
Enclosing class:
DynamicDatasets

public static class DynamicDatasets.DynamicDatasetGraph
extends DatasetGraphReadOnly


Constructor Summary
DynamicDatasets.DynamicDatasetGraph(DatasetGraph dsg)
           
 
Method Summary
 boolean containsGraph(Node graphNode)
           
 Graph getGraph(Node graphNode)
          Get the graph named by graphNode : returns null on no graph NB Whether a dataset contains a graph if there are no triples is not defined - see the specifc implementation.
 
Methods inherited from class com.hp.hpl.jena.sparql.core.DatasetGraphReadOnly
add, addGraph, delete, deleteAny, getDefaultGraph, removeGraph, setDefaultGraph
 
Methods inherited from class com.hp.hpl.jena.sparql.core.DatasetGraphWrapper
add, close, contains, contains, delete, find, find, find, findNG, getContext, getLock, getWrapped, isEmpty, listGraphNodes, size, sync, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DynamicDatasets.DynamicDatasetGraph

public DynamicDatasets.DynamicDatasetGraph(DatasetGraph dsg)
Method Detail

containsGraph

public boolean containsGraph(Node graphNode)
Specified by:
containsGraph in interface DatasetGraph
Overrides:
containsGraph in class DatasetGraphWrapper

getGraph

public Graph getGraph(Node graphNode)
Description copied from interface: DatasetGraph
Get the graph named by graphNode : returns null on no graph NB Whether a dataset contains a graph if there are no triples is not defined - see the specifc implementation. Some datasets are "open" - they have all graphs even if no triples,

Specified by:
getGraph in interface DatasetGraph
Overrides:
getGraph in class DatasetGraphReadOnly


Licenced under the Apache License, Version 2.0