private ConfigurableParser parser;
public GraphRdfXmlParser(final Graph graph, final MapFactory newMapFactory) {
mapFactory = newMapFactory;
parser = new RdfXmlParser(graph.getElementFactory(), mapFactory);
parser.setStatementHandler(new GraphStatementHandler(graph));
parser.setParseStandAloneDocuments(true);
parser.setVerifyData(true);
parser.setDatatypeHandling(DT_IGNORE);
}