## Uses of Class
org.eclipse.rdf4j.query.resultio.UnsupportedQueryResultFormatException

- Packages that use UnsupportedQueryResultFormatException
  Package | Description
  --- | ---
  org.eclipse.rdf4j.query.resultio |
  org.eclipse.rdf4j.workbench.base |

- - ### Uses of UnsupportedQueryResultFormatException in org.eclipse.rdf4j.query.resultio

    Methods in org.eclipse.rdf4j.query.resultio that throw UnsupportedQueryResultFormatException
    Modifier and Type | Method and Description
    --- | ---
    `static BooleanQueryResultParser` | QueryResultIO.`createBooleanParser(QueryResultFormat format)` Convenience methods for creating BooleanQueryResultParser objects.This method uses the registry returned by `BooleanQueryResultParserRegistry.getInstance()` to get a factory for the specified format and uses this factory to create the appropriate parser.
    `static BooleanQueryResultWriter` | QueryResultIO.`createBooleanWriter(QueryResultFormat format, OutputStream out)` Convenience methods for creating BooleanQueryResultWriter objects.This method uses the registry returned by `BooleanQueryResultWriterRegistry.getInstance()` to get a factory for the specified format and uses this factory to create the appropriate writer.
    `static TupleQueryResultParser` | QueryResultIO.`createTupleParser(QueryResultFormat format)` Convenience methods for creating TupleQueryResultParser objects.
    `static TupleQueryResultParser` | QueryResultIO.`createTupleParser(QueryResultFormat format, ValueFactory valueFactory)` Convenience methods for creating TupleQueryResultParser objects that use the specified ValueFactory to create RDF model objects.
    `static TupleQueryResultWriter` | QueryResultIO.`createTupleWriter(QueryResultFormat format, OutputStream out)` Convenience methods for creating TupleQueryResultWriter objects.This method uses the registry returned by `TupleQueryResultWriterRegistry.getInstance()` to get a factory for the specified format and uses this factory to create the appropriate writer.
    `static QueryResultWriter` | QueryResultIO.`createWriter(QueryResultFormat format, OutputStream out)` Convenience methods for creating QueryResultWriter objects.This method uses the registry returned by `TupleQueryResultWriterRegistry.getInstance()` to get a factory for the specified format and uses this factory to create the appropriate writer.
    `protected void` | AbstractQueryResultIOTest.`doBooleanLinks(BooleanQueryResultFormat format, boolean input, List<String> links)`
    `protected void` | AbstractQueryResultIOTest.`doBooleanLinksAndStylesheet(BooleanQueryResultFormat format, boolean input, List<String> links, String stylesheetUrl)`
    `protected void` | AbstractQueryResultIOTest.`doBooleanLinksAndStylesheetAndNamespaces(BooleanQueryResultFormat format, boolean input, List<String> links, String stylesheetUrl, Map<String,String> namespaces)`
    `protected void` | AbstractQueryResultIOTest.`doBooleanLinksOnly(BooleanQueryResultFormat format, boolean input, List<String> links)`
    `protected void` | AbstractQueryResultIOTest.`doBooleanNoLinks(BooleanQueryResultFormat format, boolean input)`
    `protected void` | AbstractQueryResultIOTest.`doBooleanParseNoHandlerOnTupleResults(BooleanQueryResultFormat format, TupleQueryResult tqr, TupleQueryResultFormat matchingTupleFormat)` Tests that the parser returned for a BooleanQueryResultFormat is not able to parse a TupleQueryResultFormat using the deprecated `BooleanQueryResultParser.parse(java.io.InputStream)` method, and that it does indeed through an exception of type `QueryResultParseException`.
    `protected void` | AbstractQueryResultIOTest.`doBooleanStylesheet(BooleanQueryResultFormat format, boolean input, String stylesheetUrl)`
    `protected void` | AbstractQueryResultIOTest.`doInvalidBooleanAfterStartQueryResult(BooleanQueryResultFormat format, boolean input, List<String> links)`
    `protected void` | AbstractQueryResultIOTest.`doTupleJSONPCallback(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected)` Test specifically for JSONP callback support.
    `protected void` | AbstractQueryResultIOTest.`doTupleLinks(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links)`
    `protected void` | AbstractQueryResultIOTest.`doTupleLinksAndStylesheet(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl)`
    `protected void` | AbstractQueryResultIOTest.`doTupleLinksAndStylesheetAndNamespaces(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl, Map<String,String> namespaces)`
    `protected void` | AbstractQueryResultIOTest.`doTupleLinksAndStylesheetAndNamespacesQName(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl, Map<String,String> namespaces)` Test specifically for QName support.
    `protected void` | AbstractQueryResultIOTest.`doTupleLinksAndStylesheetMultipleEndHeaders(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl)`
    `protected void` | AbstractQueryResultIOTest.`doTupleLinksAndStylesheetNoStarts(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl)`
    `protected void` | AbstractQueryResultIOTest.`doTupleMissingStartQueryResult(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl)`
    `protected void` | AbstractQueryResultIOTest.`doTupleNoHandler(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected)` Tests that parsing a tuple results set without specifying a `TupleQueryResultHandler` does not throw any exceptions.
    `protected void` | AbstractQueryResultIOTest.`doTupleNoLinks(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected)`
    `protected void` | AbstractQueryResultIOTest.`doTupleParseNoHandlerOnBooleanResults(TupleQueryResultFormat format, boolean input, BooleanQueryResultFormat matchingBooleanFormat)` Tests that the parser returned for a TupleQueryResultFormat is not able to parse a BooleanQueryResultFormat using the deprecated `TupleQueryResultParser.parse(java.io.InputStream)` method, and that it does indeed through an exception of type `QueryResultParseException`.
    `protected void` | AbstractQueryResultIOTest.`doTupleStylesheet(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, String stylesheetUrl)`
    `static boolean` | QueryResultIO.`parseBoolean(InputStream in, QueryResultFormat format)` Parses a boolean query result document and returns the parsed value.
    `static TupleQueryResult` | QueryResultIO.`parseTuple(InputStream in, QueryResultFormat format)` Parses a query result document and returns it as a TupleQueryResult object.
    `static void` | QueryResultIO.`parseTuple(InputStream in, QueryResultFormat format, TupleQueryResultHandler handler, ValueFactory valueFactory)` Parses a query result document, reporting the parsed solutions to the supplied TupleQueryResultHandler.
    `static TupleQueryResult` | QueryResultIO.`parseTupleBackground(InputStream in, QueryResultFormat format)` Parses a query result document and returns it as a TupleQueryResult object, with parsing done on a separate thread in the background. IMPORTANT: As this method may spawn a new thread in the background, it is vitally important that the TupleQueryResult be closed consistently when it is no longer required, to prevent resource leaks.
    `protected TupleQueryResult` | AbstractQueryResultIOTest.`parseTupleInternal(TupleQueryResultFormat format, InputStream in)` Override this to customise how the tuple parsing is performed, particularly to test background and other parsing strategies.
    `static void` | QueryResultIO.`writeBoolean(boolean value, QueryResultFormat format, OutputStream out)` Writes a boolean query result document in a specific boolean query result format to an output stream.
    `static void` | QueryResultIO.`writeTuple(TupleQueryResult tqr, QueryResultFormat format, OutputStream out)` Writes a query result document in a specific query result format to an output stream.

  - ### Uses of UnsupportedQueryResultFormatException in org.eclipse.rdf4j.workbench.base

    Methods in org.eclipse.rdf4j.workbench.base that throw UnsupportedQueryResultFormatException
    Modifier and Type | Method and Description
    --- | ---
    `protected QueryResultWriter` | AbstractServlet.`getResultWriter(javax.servlet.http.HttpServletRequest req, javax.servlet.ServletResponse resp, OutputStream outputStream)`
    `protected TupleResultBuilder` | AbstractServlet.`getTupleResultBuilder(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, OutputStream outputStream)` Gets a `TupleResultBuilder` based on the Accept header, and sets the result content type to the best available match for that, returning a builder that can be used to write out the results.

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