Search in sources :

Example 1 with IRIResolver

use of org.apache.jena.riot.system.IRIResolver in project jena by apache.

the class Prologue method sub.

public Prologue sub(PrefixMapping newMappings, String base) {
    // New prefix mappings
    PrefixMapping ext = getPrefixMapping();
    if (newMappings != null)
        ext = new PrefixMapping2(ext, newMappings);
    // New base.
    IRIResolver r = resolver;
    if (base != null)
        r = IRIResolver.create(base);
    return new Prologue(ext, r);
}
Also used : PrefixMapping(org.apache.jena.shared.PrefixMapping) PrefixMapping2(org.apache.jena.sparql.util.PrefixMapping2) IRIResolver(org.apache.jena.riot.system.IRIResolver)

Aggregations

IRIResolver (org.apache.jena.riot.system.IRIResolver)1 PrefixMapping (org.apache.jena.shared.PrefixMapping)1 PrefixMapping2 (org.apache.jena.sparql.util.PrefixMapping2)1