org.eclipse.rdf4j.query.resultio.sparqlxml

## Class SPARQLStarResultsXMLWriterFactory

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

- All Implemented Interfaces:
    TupleQueryResultWriterFactory

      @Experimental
      public class SPARQLStarResultsXMLWriterFactory
      extends Object
      implements TupleQueryResultWriterFactory

  A `TupleQueryResultWriterFactory` for writers of extended SPARQL/XML tuple query results: `TupleQueryResultFormat.SPARQL_STAR`
  Author:
    Jeen Broekstra

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SPARQLStarResultsXMLWriterFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `TupleQueryResultFormat` | `getTupleQueryResultFormat()` Returns `TupleQueryResultFormat.SPARQL_STAR`.
    `TupleQueryResultWriter` | `getWriter(OutputStream out)` Returns a new instance of `SPARQLResultsXMLWriter`.

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

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

- - ### Constructor Detail

    - #### SPARQLStarResultsXMLWriterFactory

          public SPARQLStarResultsXMLWriterFactory()

  - ### Method Detail

    - #### getTupleQueryResultFormat

          public TupleQueryResultFormat getTupleQueryResultFormat()

      Returns `TupleQueryResultFormat.SPARQL_STAR`.
      Specified by:
        `getTupleQueryResultFormat` in interface `TupleQueryResultWriterFactory`

    - #### getWriter

          public TupleQueryResultWriter getWriter(OutputStream out)

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

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