Package com.hp.hpl.jena.rdf.model

Examples of com.hp.hpl.jena.rdf.model.Model.union()


  public Model getInContentMetadataFromCache() throws Exception {
    Model m = ModelFactory.createDefaultModel();
    // find and merge the RDF triples cache from the OdfXMLFile files
    for (OdfXMLFile file : OdfXMLFile.values()) {
      for (Model m1 : this.getFileDom(file).getInContentMetadataCache().values()) {
        m = m.union(m1);
      }
    }
    return m;
  }
View Full Code Here


   */
  public Model getBookmarkRDFMetadata() throws Exception {
    Model m = ModelFactory.createDefaultModel();
    for (OdfXMLFile file : OdfXMLFile.values()) {
      OdfFileDom dom = getFileDom(file);
      m = m.union(dom.getBookmarkRDFMetadata());
    }
    return m;
  }
}
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.