Class SPARQLParserFactory
java.lang.Object
org.eclipse.rdf4j.query.parser.sparql.SPARQLParserFactory
- All Implemented Interfaces:
 QueryParserFactory
A 
QueryParserFactory for SPARQL parsers.- Author:
 - Arjohn Kampman
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturns a shared, thread-safe, instance of SPARQLParser.ReturnsQueryLanguage.SPARQL. 
- 
Constructor Details
- 
SPARQLParserFactory
public SPARQLParserFactory() 
 - 
 - 
Method Details
- 
getQueryLanguage
ReturnsQueryLanguage.SPARQL.- Specified by:
 getQueryLanguagein interfaceQueryParserFactory
 - 
getParser
Returns a shared, thread-safe, instance of SPARQLParser.- Specified by:
 getParserin interfaceQueryParserFactory
 - 
getParser
- Parameters:
 customPrefixes- the default prefixes- Returns:
 - a parser with predefined custom default prefixes.
 
 
 -