org.eclipse.rdf4j.query.parser.sparql

## Class SPARQLParserFactory

- java.lang.Object
- - org.eclipse.rdf4j.query.parser.sparql.SPARQLParserFactory

- All Implemented Interfaces:
    QueryParserFactory

      public class SPARQLParserFactory
      extends Object
      implements QueryParserFactory

  A `QueryParserFactory` for SPARQL parsers.
  Author:
    Arjohn Kampman

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SPARQLParserFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `QueryParser` | `getParser()` Returns a shared, thread-safe, instance of SPARQLParser.
    `QueryLanguage` | `getQueryLanguage()` Returns `QueryLanguage.SPARQL`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SPARQLParserFactory

          public SPARQLParserFactory()

  - ### Method Detail

    - #### getQueryLanguage

          public QueryLanguage getQueryLanguage()

      Returns `QueryLanguage.SPARQL`.
      Specified by:
        `getQueryLanguage` in interface `QueryParserFactory`

    - #### getParser

          public QueryParser getParser()

      Returns a shared, thread-safe, instance of SPARQLParser.
      Specified by:
        `getParser` in interface `QueryParserFactory`

Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.