de.derivo.sparqldlapi.QueryParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of de-derivo-sparqldlapi Show documentation
Show all versions of de-derivo-sparqldlapi Show documentation
This library was originally developed by Mario Volke and Derivo Systems.
The newest version!
// Copyright (c) 2011. This source code is available under the terms of the GNU Lesser General Public License (LGPL)
// Author: Mario Volke
// derivo GmbH, James-Franck-Ring, 89081 Ulm
package de.derivo.sparqldlapi;
import java.util.List;
import de.derivo.sparqldlapi.exceptions.QueryParserException;
/**
* The SPARQL-DL query parser.
*
* @author Mario Volke
*/
public interface QueryParser
{
/**
* Parse the query.
* @param tokens The tokens that you got from the QueryTokenizer.
* @return A Query instance.
* @throws QueryParserException
*/
public Query parse(List tokens)
throws QueryParserException;
}