|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatasetPrefixStorage
Abstract of prefix storage for graphs in an RDF dataset
Method Summary | |
---|---|
PrefixMapping |
getPrefixMapping()
Return a PrefixMapping for the default (unnamed) graph |
PrefixMapping |
getPrefixMapping(String graphName)
Return a PrefixMapping for a named graph |
Set<String> |
graphNames()
Return the set of graph names for which their might be prefix mappings |
void |
insertPrefix(String graphName,
String prefix,
String uri)
Add a prefix mapping for a specific graph |
void |
loadPrefixMapping(String graphName,
PrefixMapping pmap)
Copy in a set of mappings |
String |
readByURI(String graphName,
String uriStr)
Get the prefix string associated with a URI string for a specific graph (or null) |
String |
readPrefix(String graphName,
String prefix)
Get the URI string associated with a prefix string for a specific graph (or null) |
Map<String,String> |
readPrefixMap(String graphName)
Return the mappings for a specific graph. |
void |
removeFromPrefixMap(String graphName,
String prefix)
Remove the association of a prefix for a specific graph |
Methods inherited from interface org.openjena.atlas.lib.Closeable |
---|
close |
Methods inherited from interface org.openjena.atlas.lib.Sync |
---|
sync |
Method Detail |
---|
Set<String> graphNames()
String readPrefix(String graphName, String prefix)
String readByURI(String graphName, String uriStr)
Map<String,String> readPrefixMap(String graphName)
void insertPrefix(String graphName, String prefix, String uri)
void loadPrefixMapping(String graphName, PrefixMapping pmap)
void removeFromPrefixMap(String graphName, String prefix)
PrefixMapping getPrefixMapping()
PrefixMapping getPrefixMapping(String graphName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |