|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to a triple store that keeps track of the source for each statement.
Method Summary | |
void |
add(com.hp.hpl.mesa.rdf.jena.model.Statement s,
Source source)
Add a statement associated with a source. |
Source |
createSource(java.lang.String uri)
Create a new source. |
Source |
getDefaultSource()
Get the default source that is used when adding a statement. |
Source |
getSource(com.hp.hpl.mesa.rdf.jena.model.Statement s)
Return the store of a statement. |
java.util.Iterator |
listBySource(Source source)
Return an iterator over all the statements with a given source. |
java.util.Iterator |
listSources()
Return an iterator over all the sources in the store. |
void |
setDefaultSource(Source source)
Set the default source that is used when adding a statement. |
void |
setSource(com.hp.hpl.mesa.rdf.jena.model.Statement s,
Source source)
Change the source of a statement. |
Methods inherited from interface com.hp.hpl.mesa.rdf.jena.common.Store |
add, close, contains, contains, createAlt, createAlt, createBag, createBag, createProperty, createProperty, createResource, createResource, createSeq, createSeq, createStatement, getAlt, getAlt, getBag, getBag, getProperty, getProperty, getProperty, getResource, getSeq, getSeq, getStatement, list, list, listByObject, listByPredicate, listBySubject, listNameSpaces, listSubjects, remove, size |
Method Detail |
public void add(com.hp.hpl.mesa.rdf.jena.model.Statement s, Source source) throws com.hp.hpl.mesa.rdf.jena.model.RDFException
com.hp.hpl.mesa.rdf.jena.model.RDFException
public java.util.Iterator listBySource(Source source)
public Source getSource(com.hp.hpl.mesa.rdf.jena.model.Statement s)
public java.util.Iterator listSources()
public void setDefaultSource(Source source)
public Source getDefaultSource()
public void setSource(com.hp.hpl.mesa.rdf.jena.model.Statement s, Source source)
public Source createSource(java.lang.String uri)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |