Examples of classMapNames()


Examples of de.fuberlin.wiwiss.d2rq.ClassMapLister.classMapNames()

        dDesc.createResource("http://www.w3.org/ns/formats/Turtle"));

    // add a root resource for all classes
    ClassMapLister lister = D2RServer.retrieveSystemLoader(
        getServletContext()).getClassMapLister();
    for (String classMapName : lister.classMapNames()) {
      dDesc.add(
          datasetIRI,
          VoID.rootResource,
          dDesc.createResource(server.baseURI() + "all/"
              + classMapName));
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.ClassMapLister.classMapNames()

      HttpServletResponse response) throws IOException, ServletException {
    D2RServer server = D2RServer.fromServletContext(getServletContext());
    server.checkMappingFileChanged();
    Map<String,String> classMapLinks = new TreeMap<String,String>();
    ClassMapLister lister = D2RServer.retrieveSystemLoader(getServletContext()).getClassMapLister();
    for (String name: lister.classMapNames()) {
      classMapLinks.put(name, server.baseURI() + "directory/" + name);
    }
    VelocityWrapper velocity = new VelocityWrapper(this, request, response);
    Context context = velocity.getContext();
    context.put("rdf_link", server.baseURI() + "all");
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.