public class SPARQLBooleanXMLParser extends SPARQLXMLParserBase implements BooleanQueryResultParser
handler, valueFactory| Constructor and Description |
|---|
SPARQLBooleanXMLParser()
Creates a new parser for the SPARQL Query Results XML Format.
|
| 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.
|
void |
parseQueryResult(InputStream in)
Parse the query results out of the given
InputStream into the
handler setup using QueryResultParser.setQueryResultHandler(QueryResultHandler). |
parseQueryResultInternalgetParserConfig, getSupportedSettings, setParserConfig, setQueryResultHandler, setValueFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParserConfig, getSupportedSettings, setParserConfig, setQueryResultHandler, setValueFactorypublic SPARQLBooleanXMLParser()
public BooleanQueryResultFormat getBooleanQueryResultFormat()
BooleanQueryResultParsergetBooleanQueryResultFormat in interface BooleanQueryResultParserpublic QueryResultFormat getQueryResultFormat()
QueryResultParsergetQueryResultFormat in interface QueryResultParserQueryResultFormat supported by this parser.public void parseQueryResult(InputStream in) throws IOException, QueryResultParseException
QueryResultParserInputStream into the
handler setup using QueryResultParser.setQueryResultHandler(QueryResultHandler).parseQueryResult in interface QueryResultParserparseQueryResult in class SPARQLXMLParserBasein - The InputStream to parse the results from.IOException - If there is an exception from the InputStream.QueryResultParseException - If the query results are not parsable by this parser.@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 © 2001–2017 Aduna. All rights reserved.