use of org.apache.jena.sdb.graph.PrefixMappingSDB in project jena by apache.
the class TestPrefixMappingSDB method prefix5.
@Test
public void prefix5() {
String uri = "http://example/";
PrefixMapping pmap = new PrefixMappingSDB(defaultPrefixURI, sdb);
pmap.setNsPrefix("ex", uri);
assertEquals(uri + "foo", pmap.expandPrefix("ex:foo"));
}
Aggregations