Package com.stardog.stark.query.io.xml
Class SPARQLXMLBooleanResultParser
java.lang.Object
com.stardog.stark.query.io.xml.SPARQLXMLBooleanResultParser
- All Implemented Interfaces:
BooleanQueryResultParser,QueryResultParser<BooleanQueryResultHandler>
Parser for boolean results in SPARQL/XML
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformat()The format this parser can parsevoidparse(InputStream theStream, BooleanQueryResultHandler theHandler, Options theOptions) Parse the results.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.stardog.stark.query.io.QueryResultParser
parse
-
Constructor Details
-
SPARQLXMLBooleanResultParser
public SPARQLXMLBooleanResultParser()
-
-
Method Details
-
format
The format this parser can parse- Specified by:
formatin interfaceQueryResultParser<BooleanQueryResultHandler>- Returns:
- the format
-
parse
public void parse(@Nonnull InputStream theStream, @Nonnull BooleanQueryResultHandler theHandler, @Nonnull Options theOptions) throws IOException Parse the results.- Specified by:
parsein interfaceQueryResultParser<BooleanQueryResultHandler>- Parameters:
theStream- the stream to read fromtheHandler- the handler to pass parse events totheOptions- the parsing options- Throws:
IOException- if there was an error while reading from the stream
-