1 6 7 package com.hp.hpl.jena.rdf.model.impl; 8 9 import com.hp.hpl.jena.rdf.model.*; 10 import com.hp.hpl.jena.vocabulary.*; 11 12 17 public class PlainModelSpec extends ModelSpecImpl implements ModelSpec 18 { 19 25 public PlainModelSpec( ModelMaker maker ) 26 { super( maker ); } 27 28 35 public PlainModelSpec( Resource root, Model description ) 36 { super( root, description ); 37 this.root = root; this.description = description; } 38 39 43 public Model createModel() 44 { return loadFiles( maker.createModel() ); } 45 46 53 public Model createModelOver( String name ) 54 { return maker.openModel( name, false ); } 55 56 62 public Property getMakerProperty() 63 { return JenaModelSpec.maker; } 64 } 65 66 | Popular Tags |