Examples of UriMap


Examples of net.fortytwo.ripple.URIMap

    public RippleScriptEngine(final ScriptEngineFactory factory) throws RippleException {
        this.factory = factory;

        results = new Collector<>();

        URIMap uriMap = new URIMap();
        sailConfig = new SailConfiguration(uriMap);

        // TODO: shutDown on failure
        model = new SesameModel(sailConfig.getSail());
View Full Code Here

Examples of net.fortytwo.ripple.URIMap

        return sail;
    }

    protected URIMap getTestURIMap() {
        if (null == uriMap) {
            uriMap = new URIMap();
        }

        return uriMap;
    }
View Full Code Here

Examples of net.fortytwo.ripple.URIMap

        Ripple.initialize();

        baseSail = new MemoryStore();
        baseSail.initialize();

        URIMap map = new URIMap();

        // This is an example where HttpDereferencer fails by requesting the
        // full URI of a resource (rather than stripping off the local part).
        // Here, we define a mapping to a local file, so dereferencing
        // succeeds.
        map.put("http://www.holygoat.co.uk/owl/redwood/0.1/tags/Tagging",
                LinkedDataSailTest.class.getResource("tags.owl").toString());

        LinkedDataCache wc = LinkedDataCache.createDefault(baseSail);
        wc.setURIMap(map);
        sail = new LinkedDataSail(baseSail, wc);
View Full Code Here

Examples of net.fortytwo.ripple.URIMap

    private final String sailType;
    private final Sail sail;
    private final ServiceLoader<SailFactory> loader;

    public SailConfiguration() throws RippleException {
        this(new URIMap());
    }
View Full Code Here

Examples of org.apache.slider.core.registry.docstore.UriMap

    init(res, uriInfo);
    String baseURL = uriInfo.getRequestUri().toString();
    if (!baseURL.endsWith("/")) {
      baseURL += "/";
    }
    UriMap uriMap = new UriMap();
    for (String name : appState.listConfigSets()) {
      uriMap.put(name, baseURL + name);
    }
    return uriMap;
  }
View Full Code Here

Examples of org.apache.slider.core.registry.docstore.UriMap

    init(res, uriInfo);
    String baseURL = uriInfo.getRequestUri().toString();
    if (!baseURL.endsWith("/")) {
      baseURL += "/";
    }
    UriMap uriMap = new UriMap();
    for (String name : appState.listConfigSets()) {
      uriMap.put(name, baseURL + name);
    }
    return uriMap;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.