import org.jrdf.util.boundary.RegexMatcherFactoryImpl;
public class N3ParserFactory implements LineHandlerFactory {
public LineHandler createParser(final Graph newGraph, final MapFactory mapFactory) {
final RegexMatcherFactory matcherFactory = new RegexMatcherFactoryImpl();
final NamespaceListener listener = new MemNamespaceListener();
final NamespaceAwareNodeParsersFactory parsersFactory = new NamespaceAwareNodeParsersFactoryImpl(newGraph,
mapFactory, matcherFactory, listener);
final NodeMaps nodeMaps = new NamespaceAwareNodeMaps(parsersFactory.getUriReferenceParser(),
parsersFactory.getBlankNodeParser(), parsersFactory.getLiteralParser());
final RegexTripleParser parser = new RegexTripleParserImpl(matcherFactory, newGraph.getTripleFactory(),