Changes between Version 15 and Version 16 of ApertureRDF


Ignore:
Timestamp:
10/27/05 11:33:03 (19 years ago)
Author:
jeen
Comment:

changed your code example a bit, we longer use ValueFactories in the Repository API

Legend:

Unmodified
Added
Removed
Modified
  • ApertureRDF

    v15 v16  
    4949{{{ 
    5050#!java 
    51         ValueFactory factory = repository.getValueFactory(); 
    52         repository.add(docURI, Vocabulary.titleURI, factory.createLiteral(titleString); 
    53         repository.add(docURI, Vocabulary.fullTextURI, factory.createLiteral(fullText); 
     51        repository.add(docURI, Vocabulary.titleURI, new LiteralVertex(repository, titleString); 
     52        repository.add(docURI, Vocabulary.fullTextURI, new LiteralVertex(repository, fullText); 
    5453}}} 
    5554