Package | Description |
---|---|
org.openrdf.http.client | |
org.openrdf.query.resultio | |
org.openrdf.query.resultio.sparqljson |
A writer for the SPARQL Query Results JSON Format
|
org.openrdf.query.resultio.sparqlxml |
Parsers and writers for the SPARQL Query Results XML Format
|
org.openrdf.query.resultio.text |
Modifier and Type | Method and Description |
---|---|
BooleanQueryResultFormat |
SparqlSession.getPreferredBooleanQueryResultFormat()
Gets the preferred
BooleanQueryResultFormat for encoding boolean
query results. |
Modifier and Type | Method and Description |
---|---|
void |
SparqlSession.setPreferredBooleanQueryResultFormat(BooleanQueryResultFormat format)
Sets the preferred format for encoding boolean query results.
|
Modifier and Type | Field and Description |
---|---|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.JSON
SPARQL Query Results JSON Format.
|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.SPARQL
SPARQL Query Results XML Format.
|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.TEXT
Plain text encoding using values "true" and "false" (case-insensitive).
|
Modifier and Type | Method and Description |
---|---|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.forFileName(String fileName)
Tries to determine the appropriate boolean file format for a file, based
on the extension specified in a file name.
|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.forFileName(String fileName,
BooleanQueryResultFormat fallback)
Tries to determine the appropriate boolean file format for a file, based
on the extension specified in a file name.
|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.forMIMEType(String mimeType)
Tries to determine the appropriate boolean file format based on the a MIME
type that describes the content type.
|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.forMIMEType(String mimeType,
BooleanQueryResultFormat fallback)
Tries to determine the appropriate boolean file format based on the a MIME
type that describes the content type.
|
protected abstract BooleanQueryResultFormat |
AbstractQueryResultIOBooleanTest.getBooleanFormat() |
static BooleanQueryResultFormat |
QueryResultIO.getBooleanParserFormatForFileName(String fileName)
Tries to match the extension of a file name against the list of RDF
formats that can be parsed.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanParserFormatForFileName(String fileName,
BooleanQueryResultFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be parsed.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanParserFormatForMIMEType(String mimeType)
Tries to match a MIME type against the list of boolean query result
formats that can be parsed.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanParserFormatForMIMEType(String mimeType,
BooleanQueryResultFormat fallback)
Tries to match a MIME type against the list of boolean query result
formats that can be parsed.
|
BooleanQueryResultFormat |
BooleanQueryResultWriter.getBooleanQueryResultFormat()
Gets the query result format that this writer uses.
|
BooleanQueryResultFormat |
BooleanQueryResultParserFactory.getBooleanQueryResultFormat()
Returns the boolean query result format for this factory.
|
BooleanQueryResultFormat |
BooleanQueryResultWriterFactory.getBooleanQueryResultFormat()
Returns the boolean query result format for this factory.
|
BooleanQueryResultFormat |
BooleanQueryResultParser.getBooleanQueryResultFormat()
Gets the query result format that this parser can parse.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanWriterFormatForFileName(String fileName)
Tries to match the extension of a file name against the list of RDF
formats that can be written.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanWriterFormatForFileName(String fileName,
BooleanQueryResultFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be written.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanWriterFormatForMIMEType(String mimeType)
Tries to match a MIME type against the list of boolean query result
formats that can be written.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanWriterFormatForMIMEType(String mimeType,
BooleanQueryResultFormat fallback)
Tries to match a MIME type against the list of boolean query result
formats that can be written.
|
protected BooleanQueryResultFormat |
BooleanQueryResultParserRegistry.getKey(BooleanQueryResultParserFactory factory) |
protected BooleanQueryResultFormat |
BooleanQueryResultWriterRegistry.getKey(BooleanQueryResultWriterFactory factory) |
protected abstract BooleanQueryResultFormat |
AbstractQueryResultIOTupleTest.getMatchingBooleanFormatOrNull() |
static BooleanQueryResultFormat |
BooleanQueryResultFormat.register(String name,
String mimeType,
String fileExt)
Registers the specified boolean query result format.
|
Modifier and Type | Method and Description |
---|---|
static Collection<BooleanQueryResultFormat> |
BooleanQueryResultFormat.values()
Returns all known/registered boolean query result formats.
|
Modifier and Type | Method and Description |
---|---|
static BooleanQueryResultParser |
QueryResultIO.createParser(BooleanQueryResultFormat format)
Convenience methods for creating BooleanQueryResultParser objects.
|
static BooleanQueryResultWriter |
QueryResultIO.createWriter(BooleanQueryResultFormat format,
OutputStream out)
Convenience methods for creating BooleanQueryResultWriter objects.
|
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.doBooleanNoHandler(BooleanQueryResultFormat format,
boolean input)
Tests that parsing a boolean without specifying a
BooleanQueryResultHandler does not throw any exceptions. |
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.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 . |
static BooleanQueryResultFormat |
BooleanQueryResultFormat.forFileName(String fileName,
BooleanQueryResultFormat fallback)
Tries to determine the appropriate boolean file format for a file, based
on the extension specified in a file name.
|
static BooleanQueryResultFormat |
BooleanQueryResultFormat.forMIMEType(String mimeType,
BooleanQueryResultFormat fallback)
Tries to determine the appropriate boolean file format based on the a MIME
type that describes the content type.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanParserFormatForFileName(String fileName,
BooleanQueryResultFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be parsed.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanParserFormatForMIMEType(String mimeType,
BooleanQueryResultFormat fallback)
Tries to match a MIME type against the list of boolean query result
formats that can be parsed.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanWriterFormatForFileName(String fileName,
BooleanQueryResultFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be written.
|
static BooleanQueryResultFormat |
QueryResultIO.getBooleanWriterFormatForMIMEType(String mimeType,
BooleanQueryResultFormat fallback)
Tries to match a MIME type against the list of boolean query result
formats that can be written.
|
static boolean |
QueryResultIO.parse(InputStream in,
BooleanQueryResultFormat format)
Parses a boolean query result document and returns the parsed value.
|
static void |
BooleanQueryResultFormat.register(BooleanQueryResultFormat format)
Registers the specified boolean query result format.
|
static void |
QueryResultIO.write(boolean value,
BooleanQueryResultFormat format,
OutputStream out)
Deprecated.
|
static void |
QueryResultIO.writeBoolean(boolean value,
BooleanQueryResultFormat format,
OutputStream out)
Writes a boolean query result document in a specific boolean query result
format to an output stream.
|
Modifier and Type | Method and Description |
---|---|
BooleanQueryResultFormat |
SPARQLBooleanJSONWriterFactory.getBooleanQueryResultFormat()
Returns
JSON . |
BooleanQueryResultFormat |
SPARQLBooleanJSONWriter.getBooleanQueryResultFormat() |
BooleanQueryResultFormat |
SPARQLBooleanJSONParser.getBooleanQueryResultFormat() |
BooleanQueryResultFormat |
SPARQLBooleanJSONParserFactory.getBooleanQueryResultFormat()
Returns
JSON . |
BooleanQueryResultFormat |
SPARQLBooleanJSONWriter.getQueryResultFormat() |
Modifier and Type | Method and Description |
---|---|
BooleanQueryResultFormat |
SPARQLBooleanXMLWriterFactory.getBooleanQueryResultFormat()
Returns
SPARQL . |
BooleanQueryResultFormat |
SPARQLBooleanXMLWriter.getBooleanQueryResultFormat() |
BooleanQueryResultFormat |
SPARQLBooleanXMLParser.getBooleanQueryResultFormat() |
BooleanQueryResultFormat |
SPARQLBooleanXMLParserFactory.getBooleanQueryResultFormat()
Returns
SPARQL . |
BooleanQueryResultFormat |
SPARQLBooleanXMLWriter.getQueryResultFormat() |
Modifier and Type | Method and Description |
---|---|
BooleanQueryResultFormat |
BooleanTextParser.getBooleanQueryResultFormat() |
BooleanQueryResultFormat |
BooleanTextWriterFactory.getBooleanQueryResultFormat()
Returns
TEXT . |
BooleanQueryResultFormat |
BooleanTextWriter.getBooleanQueryResultFormat() |
BooleanQueryResultFormat |
BooleanTextParserFactory.getBooleanQueryResultFormat()
Returns
TEXT . |
BooleanQueryResultFormat |
BooleanTextWriter.getQueryResultFormat() |
Copyright © 2001–2017 Aduna. All rights reserved.