Search in sources :

Example 1 with StoragePrefixMap

use of org.apache.jena.dboe.storage.prefixes.StoragePrefixMap in project jena by apache.

the class GraphViewSwitchable_Prefixes method createPrefixMappingX.

// Create prefix map view.
private PrefixMap createPrefixMappingX() {
    DatasetGraphTDB dsg = ((DatasetGraphTDB) (getx().get()));
    StoragePrefixes storagePrefixes = dsg.getStoragePrefixes();
    StoragePrefixMap spm = isDefaultGraph() ? StoragePrefixesView.internal_viewDefaultGraph(storagePrefixes) : StoragePrefixesView.internal_viewGraph(storagePrefixes, getGraphName());
    return PrefixesDboeFactory.newPrefixMap(spm);
}
Also used : StoragePrefixes(org.apache.jena.dboe.storage.StoragePrefixes) StoragePrefixMap(org.apache.jena.dboe.storage.prefixes.StoragePrefixMap)

Aggregations

StoragePrefixes (org.apache.jena.dboe.storage.StoragePrefixes)1 StoragePrefixMap (org.apache.jena.dboe.storage.prefixes.StoragePrefixMap)1