Package org.openrdf.sesame.repository.local

Examples of org.openrdf.sesame.repository.local.LocalRepository


    String param = (this.params.get(2) == null) ? this.params.get(0) : this.params.get(2);

    Graph g = SesameWrapper.performGraphQuery(inGraph, QueryLanguage.SERQL, RDFQuery.RDFQ_ACCESS_RESOURCE
        .toString("<"+param+">"));
    LocalRepository local = null;

    local = RepositoryFactory.getServiceRepository(this.getUri());
    if (local != null) {
      SesameWrapper.clear(local);
      SesameWrapper.addGraph(local, g);
      try {
        this.annotateResults(local, local.getGraph().getValueFactory().createURI(param));
      } catch (AccessDeniedException e) {
        Repository.logger.warning(e.toString());
      }
    }
   
View Full Code Here

TOP

Related Classes of org.openrdf.sesame.repository.local.LocalRepository

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.