|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
GraphRepresentation - The type used to represent the contents of a graphpublic interface RDFDataset<GraphRepresentation>
An RDFDataset maps URIs to an arbitrary (templated) graph representation.
| 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 |
GraphRepresentation |
getDefaultGraph(java.net.URI name)
Retrieve the representation of the given default graph |
java.util.Iterator<java.net.URI> |
getDefaultGraphs()
|
GraphRepresentation |
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 |
| Method Detail |
|---|
void addDefaultGraph(java.net.URI name)
name - Identifier of the graph being addedvoid addNamedGraph(java.net.URI name)
name - Identifier of the graph being addedvoid setDefaultGraphs(java.util.Set<java.net.URI> graphs)
graphs - The new graphs that form the default graphvoid setNamedGraphs(java.util.Set<java.net.URI> graphs)
graphs - The new named graphs
GraphRepresentation getDefaultGraph(java.net.URI name)
throws UnknownGraphException
name - Identifies the component of the default graph whose representation should be returned
UnknownGraphException
GraphRepresentation getNamedGraph(java.net.URI name)
throws UnknownGraphException
name - Identifies the named graph whose representation should be returned
UnknownGraphExceptionjava.util.Iterator<java.net.URI> getDefaultGraphs()
java.util.Iterator<java.net.URI> getNamedGraphs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||