use of org.eclipse.rdf4j.rio.RioSetting in project rdf4j by eclipse.
the class RDFParserHelperTest method setUp.
/**
* @throws java.lang.Exception
*/
@Before
public void setUp() throws Exception {
parserConfig = new ParserConfig();
// By default we wipe out the SPI loaded datatype and language handlers
parserConfig.set(BasicParserSettings.DATATYPE_HANDLERS, Collections.<DatatypeHandler>emptyList());
parserConfig.set(BasicParserSettings.LANGUAGE_HANDLERS, Collections.<LanguageHandler>emptyList());
// Ensure that the set of non-fatal errors is empty by default
parserConfig.setNonFatalErrors(new HashSet<RioSetting<?>>());
errListener = new ParseErrorCollector();
valueFactory = SimpleValueFactory.getInstance();
}
Aggregations