public AbstractRDFParser(ValueFactory valueFactory){
  try {
    md5=MessageDigest.getInstance("MD5");
  }
 catch (  NoSuchAlgorithmException e) {
    throw new RuntimeException(e);
  }
  namespaceTable=new HashMap<String,String>(16);
  nextBNodePrefix=createUniqueBNodePrefix();
  setValueFactory(valueFactory);
  setParserConfig(new ParserConfig());
}

public AbstractRDFParser ( ValueFactory valueFactory ) { try { md5 = MessageDigest . getInstance ( "MD5" ) ; } catch ( NoSuchAlgorithmException e ) { throw new RuntimeException ( e ) ; } namespaceTable = new HashMap < String , String > ( 16 ) ; nextBNodePrefix = createUniqueBNodePrefix ( ) ; setValueFactory ( valueFactory ) ; setParserConfig ( new ParserConfig ( ) ) ; }
creates a new rdfparserbase that will use the supplied valuefactory to create rdf model objects .
