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.query.parser;
07:
08: import org.openrdf.query.QueryLanguage;
09:
10: /**
11: * A QueryParserFactory returns {@link QueryParser}s for a specific query
12: * language.
13: *
14: * @author Arjohn Kampman
15: */
16: public interface QueryParserFactory {
17:
18: /**
19: * Returns the query language for this factory.
20: */
21: public QueryLanguage getQueryLanguage();
22:
23: /**
24: * Returns a QueryParser instance.
25: */
26: public QueryParser getParser();
27: }
|