01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 2007.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.rio.rdfxml;
07:
08: import org.openrdf.rio.RDFFormat;
09: import org.openrdf.rio.RDFParser;
10: import org.openrdf.rio.RDFParserFactory;
11:
12: /**
13: * An {@link RDFParserFactory} for RDF/XML parsers.
14: *
15: * @author Arjohn Kampman
16: */
17: public class RDFXMLParserFactory implements RDFParserFactory {
18:
19: /**
20: * Returns the RDF format for this factory.
21: */
22: public RDFFormat getRDFFormat() {
23: return RDFFormat.RDFXML;
24: }
25:
26: /**
27: * Returns a new instance of RDFXMLParser.
28: */
29: public RDFParser getParser() {
30: return new RDFXMLParser();
31: }
32: }
|