org.eclipse.rdf4j.query.resultio.sparqlxml

## Class SPARQLBooleanXMLWriterFactory

- java.lang.Object
- - org.eclipse.rdf4j.query.resultio.sparqlxml.SPARQLBooleanXMLWriterFactory

- All Implemented Interfaces:
    BooleanQueryResultWriterFactory

      public class SPARQLBooleanXMLWriterFactory
      extends Object
      implements BooleanQueryResultWriterFactory

  A `BooleanQueryResultWriterFactory` for writers of SPARQL/XML boolean query results.
  Author:
    Arjohn Kampman

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SPARQLBooleanXMLWriterFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `BooleanQueryResultFormat` | `getBooleanQueryResultFormat()` Returns `BooleanQueryResultFormat.SPARQL`.
    `BooleanQueryResultWriter` | `getWriter(OutputStream out)` Returns a new instance of `SPARQLBooleanXMLWriter`.

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

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

- - ### Constructor Detail

    - #### SPARQLBooleanXMLWriterFactory

          public SPARQLBooleanXMLWriterFactory()

  - ### Method Detail

    - #### getBooleanQueryResultFormat

          public BooleanQueryResultFormat getBooleanQueryResultFormat()

      Returns `BooleanQueryResultFormat.SPARQL`.
      Specified by:
        `getBooleanQueryResultFormat` in interface `BooleanQueryResultWriterFactory`

    - #### getWriter

          public BooleanQueryResultWriter getWriter(OutputStream out)

      Returns a new instance of `SPARQLBooleanXMLWriter`.
      Specified by:
        `getWriter` in interface `BooleanQueryResultWriterFactory`
      Parameters:
        `out` - The OutputStream to write the result to.

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