org.eclipse.rdf4j.query.resultio.sparqljson

## Class SPARQLResultsJSONParserFactory

- java.lang.Object
- - org.eclipse.rdf4j.query.resultio.sparqljson.SPARQLResultsJSONParserFactory

- All Implemented Interfaces:
    TupleQueryResultParserFactory

      public class SPARQLResultsJSONParserFactory
      extends Object
      implements TupleQueryResultParserFactory

  A `TupleQueryResultParserFactory` for parsers of SPARQL-1.1 JSON Tuple Query Results.
  Author:
    Peter Ansell

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SPARQLResultsJSONParserFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `TupleQueryResultParser` | `getParser()` Returns a new instance of `SPARQLResultsJSONParser`.
    `TupleQueryResultFormat` | `getTupleQueryResultFormat()` Returns `TupleQueryResultFormat.JSON`.

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

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

- - ### Constructor Detail

    - #### SPARQLResultsJSONParserFactory

          public SPARQLResultsJSONParserFactory()

  - ### Method Detail

    - #### getTupleQueryResultFormat

          public TupleQueryResultFormat getTupleQueryResultFormat()

      Returns `TupleQueryResultFormat.JSON`.
      Specified by:
        `getTupleQueryResultFormat` in interface `TupleQueryResultParserFactory`

    - #### getParser

          public TupleQueryResultParser getParser()

      Returns a new instance of `SPARQLResultsJSONParser`.
      Specified by:
        `getParser` in interface `TupleQueryResultParserFactory`

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