|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.glitter.dataset.BasicDataset
public class BasicDataset
BasicDataset implements RDFDataset where the graphs are
simply identified as (opaque) URIs.
| Constructor Summary | |
|---|---|
BasicDataset()
|
|
| Method Summary | |
|---|---|
void |
addDefaultGraph(java.net.URI name)
Adds (by RDF merge) the graph represented by name to the default graph for this dataset |
void |
addNamedGraph(java.net.URI name)
Adds the graph represented by name to the set of named graphs for this dataset |
java.net.URI |
getDefaultGraph(java.net.URI name)
Retrieve the representation of the given default graph |
java.util.Iterator<java.net.URI> |
getDefaultGraphs()
|
java.net.URI |
getNamedGraph(java.net.URI name)
Retrieve the representation of the given named graph |
java.util.Iterator<java.net.URI> |
getNamedGraphs()
|
void |
setDefaultGraphs(java.util.Set<java.net.URI> graphs)
Sets the full set of graphs that are merged to form the default graph for this dataset. |
void |
setNamedGraphs(java.util.Set<java.net.URI> graphs)
Sets the full set of graphs that comprise the named graph portion of this dataset |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicDataset()
| Method Detail |
|---|
public void addDefaultGraph(java.net.URI name)
RDFDataset
addDefaultGraph in interface RDFDataset<java.net.URI>name - Identifier of the graph being addedpublic void addNamedGraph(java.net.URI name)
RDFDataset
addNamedGraph in interface RDFDataset<java.net.URI>name - Identifier of the graph being addedpublic void setDefaultGraphs(java.util.Set<java.net.URI> graphs)
RDFDataset
setDefaultGraphs in interface RDFDataset<java.net.URI>graphs - The new graphs that form the default graphpublic void setNamedGraphs(java.util.Set<java.net.URI> graphs)
RDFDataset
setNamedGraphs in interface RDFDataset<java.net.URI>graphs - The new named graphs
public java.net.URI getDefaultGraph(java.net.URI name)
throws UnknownGraphException
RDFDataset
getDefaultGraph in interface RDFDataset<java.net.URI>name - Identifies the component of the default graph whose representation should be returned
UnknownGraphExceptionpublic java.util.Iterator<java.net.URI> getDefaultGraphs()
getDefaultGraphs in interface RDFDataset<java.net.URI>
public java.net.URI getNamedGraph(java.net.URI name)
throws UnknownGraphException
RDFDataset
getNamedGraph in interface RDFDataset<java.net.URI>name - Identifies the named graph whose representation should be returned
UnknownGraphExceptionpublic java.util.Iterator<java.net.URI> getNamedGraphs()
getNamedGraphs in interface RDFDataset<java.net.URI>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||