[graphl-cvs] graphl/src/org/mediavirus/graphl/vocabulary SimpleVocabularyRegistry.java
Status: Pre-Alpha
Brought to you by:
flo1
From: Flo L. <fl...@us...> - 2006-06-08 13:15:30
|
Update of /cvsroot/graphl/graphl/src/org/mediavirus/graphl/vocabulary In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv17343/src/org/mediavirus/graphl/vocabulary Modified Files: SimpleVocabularyRegistry.java Log Message: a lot of changes done a long time ago... changelog has to be updated another time :( Index: SimpleVocabularyRegistry.java =================================================================== RCS file: /cvsroot/graphl/graphl/src/org/mediavirus/graphl/vocabulary/SimpleVocabularyRegistry.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** SimpleVocabularyRegistry.java 18 Dec 2005 11:11:40 -0000 1.6 --- SimpleVocabularyRegistry.java 8 Jun 2006 13:15:01 -0000 1.7 *************** *** 22,26 **** Map<String, String> prefixToNamespaceMap = new HashMap<String, String>(); Map<String, String> namespaceToPrefixMap = new HashMap<String, String>(); ! /** * @see org.mediavirus.graphl.vocabulary.VocabularyRegistry#getRegisteredVocabularies() --- 22,36 ---- Map<String, String> prefixToNamespaceMap = new HashMap<String, String>(); Map<String, String> namespaceToPrefixMap = new HashMap<String, String>(); ! ! public SimpleVocabularyRegistry() { ! // TODO (Future) the whole vocab. registration should be defined in RDF files ! registerVocabulary(Graphl.getVocabulary()); ! registerVocabulary(RDF.getVocabulary()); ! registerVocabulary(RDFS.getVocabulary()); ! registerVocabulary(DC.getVocabulary()); ! registerVocabulary(FOAF.getVocabulary()); ! ! registerNamespace("ff", "http://www.funkfeuer.at/vocab#"); ! } /** * @see org.mediavirus.graphl.vocabulary.VocabularyRegistry#getRegisteredVocabularies() |