org.eclipse.rdf4j.query.resultio.text

## Class BooleanTextParserFactory

- java.lang.Object
- - org.eclipse.rdf4j.query.resultio.text.BooleanTextParserFactory

- All Implemented Interfaces:
    BooleanQueryResultParserFactory

      public class BooleanTextParserFactory
      extends Object
      implements BooleanQueryResultParserFactory

  A `BooleanQueryResultParserFactory` for plain text boolean result parsers.
  Author:
    Arjohn Kampman

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BooleanTextParserFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `BooleanQueryResultFormat` | `getBooleanQueryResultFormat()` Returns `BooleanQueryResultFormat.TEXT`.
    `BooleanQueryResultParser` | `getParser()` Returns a new instance of BooleanTextParser.

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

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

- - ### Constructor Detail

    - #### BooleanTextParserFactory

          public BooleanTextParserFactory()

  - ### Method Detail

    - #### getBooleanQueryResultFormat

          public BooleanQueryResultFormat getBooleanQueryResultFormat()

      Returns `BooleanQueryResultFormat.TEXT`.
      Specified by:
        `getBooleanQueryResultFormat` in interface `BooleanQueryResultParserFactory`

    - #### getParser

          public BooleanQueryResultParser getParser()

      Returns a new instance of BooleanTextParser.
      Specified by:
        `getParser` in interface `BooleanQueryResultParserFactory`

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