1 18 19 package com.hp.hpl.jena.ontology.daml.impl; 22 23 24 import com.hp.hpl.jena.vocabulary.*; 27 import com.hp.hpl.jena.rdf.model.*; 28 import com.hp.hpl.jena.rdf.model.impl.*; 29 30 31 32 33 40 public class VocabularyManager 41 { 42 45 46 49 50 53 54 57 58 61 68 public static DAMLVocabulary getVocabulary( Resource resource ) { 69 return getDefaultVocabulary(); 70 } 71 72 73 80 public static DAMLVocabulary getVocabulary( String uri ) { 81 if (uri != null) { 82 int splitPoint = Util.splitNamespace( uri ); 84 String namespace = (splitPoint < 0) ? uri : uri.substring( 0, splitPoint ); 85 86 if (namespace != null) { 88 89 } 91 } 92 93 return getDefaultVocabulary(); 95 } 96 97 98 103 public static DAMLVocabulary getDefaultVocabulary() { 104 return DAML_OIL.getInstance(); 105 } 106 107 110 111 112 113 117 118 } 119 120 121 150 151 | Popular Tags |