public class SPARQLBooleanJSONParser extends AbstractSPARQLJSONParser implements BooleanQueryResultParser
BINDINGS, BNODE, BOOLEAN, DATATYPE, HEAD, LINK, LITERAL, RESULTS, TYPE, TYPED_LITERAL, URI, VALUE, VARS, XMLLANGhandler, valueFactory| Constructor and Description | 
|---|
| SPARQLBooleanJSONParser()Default constructor. | 
| SPARQLBooleanJSONParser(ValueFactory valueFactory)Construct a parser with a specific  ValueFactory. | 
| Modifier and Type | Method and Description | 
|---|---|
| BooleanQueryResultFormat | getBooleanQueryResultFormat()Gets the query result format that this parser can parse. | 
| QueryResultFormat | getQueryResultFormat()Gets the query result format that this parser can parse. | 
| boolean | parse(InputStream in)Deprecated.  | 
getSupportedSettings, parseQueryResult, parseQueryResultInternalgetParseErrorListener, getParseLocationListener, getParserConfig, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParserConfig, getSupportedSettings, parseQueryResult, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactorypublic SPARQLBooleanJSONParser()
public SPARQLBooleanJSONParser(ValueFactory valueFactory)
ValueFactory.valueFactory - The factory to use to create values.public QueryResultFormat getQueryResultFormat()
QueryResultParsergetQueryResultFormat in interface QueryResultParserQueryResultFormat supported by this parser.public BooleanQueryResultFormat getBooleanQueryResultFormat()
BooleanQueryResultParsergetBooleanQueryResultFormat in interface BooleanQueryResultParser@Deprecated public boolean parse(InputStream in) throws IOException, QueryResultParseException
BooleanQueryResultParserparse in interface BooleanQueryResultParserin - The InputStream from which to read the data.IOException - If an I/O error occurred while data was read from the InputStream.QueryResultParseException - If the parser has encountered an unrecoverable parse error.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.