Package com.hp.hpl.jena.shared.impl

Examples of com.hp.hpl.jena.shared.impl.PrefixMappingImpl


            // not using the global default FM, so we reset to best effort
            getFileManager().resetCache();
        }

        m_ignoreImports.clear();
        m_prefixMap = new PrefixMappingImpl();

        setDefaults();

        if (reload) {
            initialiseMetadata( m_searchPath );
View Full Code Here


    }

    @Override
    protected PrefixMapping createPrefixMapping()
    {
        PrefixMapping pmap = new PrefixMappingImpl() ;
        for ( Node gn : graphs )
        {
            if ( ! gn.isURI() ) continue ;
            Graph g = dataset.getGraph(gn) ;
            PrefixMapping pmapNamedGraph = g.getPrefixMapping() ;
            pmap.setNsPrefixes(pmapNamedGraph) ;
        }
        return pmap ;
    }
View Full Code Here

        pmapLocal = localMapping ;
    }
   
    public PrefixMapping2(PrefixMapping globalMapping)
    {
        this(globalMapping, new PrefixMappingImpl()) ;
    }
View Full Code Here

public class BuilderPrefixMapping
{
    public static PrefixMapping build(Item elt)
    {
        PrefixMapping pmap = new PrefixMappingImpl() ;
        build(pmap, elt) ;
        return pmap ;
    }
View Full Code Here

//    protected String baseURI = null ;

    protected PrefixMapping prefixMap = null ;
    protected IRIResolver resolver = null ;
   
    public Prologue() { prefixMap = new PrefixMappingImpl() ; }
View Full Code Here

        this.resolver = other.resolver ;
    }

    public Prologue copy()
    {
        PrefixMapping prefixMap = new PrefixMappingImpl() ;
        prefixMap.setNsPrefixes(this.prefixMap) ;
        return new Prologue(prefixMap, resolver.getBaseIRI()) ;
    }
View Full Code Here

        catch (IOException ex)
        { throw new ARQException("IOExeption: "+filename, ex) ; }
    }
   
    /** Parse a string and obtain an SSE item expression (no additional prefix mappings)*/
    public static Item parseRaw(String str) { return parse(str, new PrefixMappingImpl()) ; }
View Full Code Here

    }

    @Override
    protected PrefixMapping createPrefixMapping()
    {
        return new PrefixMappingImpl() ;
    }
View Full Code Here

public class OpPrefixesUsed
{
    static public PrefixMapping used(Op op, PrefixMapping pmap)
    {
        PrefixMapping pmap2 = new PrefixMappingImpl() ;
        PrefixFinder finder = new PrefixFinder(pmap2, pmap.getNsPrefixMap()) ;
        OpWalker.walk(op, finder) ;
        return pmap2 ;
    }
View Full Code Here

   */
  public ParameterizedSparqlString(String command, QuerySolutionMap map, String base, PrefixMapping prefixes) {
    if (command != null) this.cmd.append(command);
    this.setParams(map);
    this.baseUri = (base != null && !base.equals("") ? base : null);
    this.prefixes = new PrefixMappingImpl();
    if (prefixes != null) this.prefixes.setNsPrefixes(prefixes);
  }
View Full Code Here

TOP

Related Classes of com.hp.hpl.jena.shared.impl.PrefixMappingImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.