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(org.eclipse.rdf4j.model.ValueFactory valueFactory)
Construct a parser with a specific
ValueFactory. |
| Modifier and Type | Method and Description |
|---|---|
BooleanQueryResultFormat |
getBooleanQueryResultFormat() |
QueryResultFormat |
getQueryResultFormat() |
boolean |
parse(InputStream in)
Deprecated.
|
checkTripleType, getSupportedSettings, parseQueryResult, parseQueryResultInternal, parseTripleValue, parseValuegetParseErrorListener, 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(org.eclipse.rdf4j.model.ValueFactory valueFactory)
ValueFactory.valueFactory - The factory to use to create values.public QueryResultFormat getQueryResultFormat()
getQueryResultFormat in interface QueryResultParserpublic BooleanQueryResultFormat getBooleanQueryResultFormat()
getBooleanQueryResultFormat in interface BooleanQueryResultParser@Deprecated public boolean parse(InputStream in) throws IOException, QueryResultParseException
parse in interface BooleanQueryResultParserIOExceptionQueryResultParseExceptionCopyright © 2015-2021 Eclipse Foundation. All Rights Reserved.