Class SPARQLBooleanXMLParser
- java.lang.Object
-
- org.eclipse.rdf4j.query.resultio.AbstractQueryResultParser
-
- org.eclipse.rdf4j.query.resultio.sparqlxml.AbstractSPARQLXMLParser
-
- org.eclipse.rdf4j.query.resultio.sparqlxml.SPARQLBooleanXMLParser
-
- All Implemented Interfaces:
BooleanQueryResultParser,QueryResultParser,ErrorHandler
public class SPARQLBooleanXMLParser extends AbstractSPARQLXMLParser implements BooleanQueryResultParser
Parser for reading boolean query results formatted as SPARQL Results Documents. See SPARQL Query Results XML Format for the definition of this format. The parser assumes that the XML is wellformed.
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.query.resultio.AbstractQueryResultParser
handler, valueFactory
-
-
Constructor Summary
Constructors Constructor Description SPARQLBooleanXMLParser()Creates a new parser for the SPARQL Query Results XML Format.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BooleanQueryResultFormatgetBooleanQueryResultFormat()QueryResultFormatgetQueryResultFormat()booleanparse(InputStream in)Deprecated.voidparseQueryResult(InputStream in)-
Methods inherited from class org.eclipse.rdf4j.query.resultio.sparqlxml.AbstractSPARQLXMLParser
error, fatalError, getCompulsoryXmlFeatureSettings, getCompulsoryXmlPropertySettings, getOptionalXmlFeatureSettings, getOptionalXmlPropertySettings, getSupportedSettings, parseQueryResultInternal, reportWarning, warning
-
Methods inherited from class org.eclipse.rdf4j.query.resultio.AbstractQueryResultParser
getParseErrorListener, getParseLocationListener, getParserConfig, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.rdf4j.query.resultio.QueryResultParser
getParserConfig, getSupportedSettings, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactory
-
-
-
-
Method Detail
-
getBooleanQueryResultFormat
public BooleanQueryResultFormat getBooleanQueryResultFormat()
- Specified by:
getBooleanQueryResultFormatin interfaceBooleanQueryResultParser
-
getQueryResultFormat
public QueryResultFormat getQueryResultFormat()
- Specified by:
getQueryResultFormatin interfaceQueryResultParser
-
parseQueryResult
public void parseQueryResult(InputStream in) throws IOException, QueryResultParseException
- Specified by:
parseQueryResultin interfaceQueryResultParser- Overrides:
parseQueryResultin classAbstractSPARQLXMLParser- Throws:
IOExceptionQueryResultParseException
-
parse
@Deprecated public boolean parse(InputStream in) throws IOException, QueryResultParseException
Deprecated.- Specified by:
parsein interfaceBooleanQueryResultParser- Throws:
IOExceptionQueryResultParseException
-
-