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)
Parses the data from the supplied InputStream.
|
parseQueryResult, parseQueryResultInternal
getParserConfig, getSupportedSettings, setParserConfig, setQueryResultHandler, setValueFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParserConfig, getSupportedSettings, parseQueryResult, setParserConfig, setQueryResultHandler, setValueFactory
public SPARQLBooleanXMLParser()
public BooleanQueryResultFormat getBooleanQueryResultFormat()
BooleanQueryResultParser
getBooleanQueryResultFormat
in interface BooleanQueryResultParser
public QueryResultFormat getQueryResultFormat()
QueryResultParser
getQueryResultFormat
in interface QueryResultParser
QueryResultFormat
supported by this parser.public boolean parse(InputStream in) throws IOException, QueryResultParseException
BooleanQueryResultParser
parse
in interface BooleanQueryResultParser
in
- 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-2016 Aduna. All Rights Reserved.