public abstract class SPARQLXMLParserBase extends QueryResultParserBase
handler, valueFactory| Constructor and Description |
|---|
SPARQLXMLParserBase() |
SPARQLXMLParserBase(ValueFactory valueFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
parseQueryResult(InputStream in)
Parse the query results out of the given
InputStream into the
handler setup using QueryResultParser.setQueryResultHandler(QueryResultHandler). |
protected boolean |
parseQueryResultInternal(InputStream in,
boolean attemptParseBoolean,
boolean attemptParseTuple) |
getParserConfig, getSupportedSettings, setParserConfig, setQueryResultHandler, setValueFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetQueryResultFormatpublic SPARQLXMLParserBase()
public SPARQLXMLParserBase(ValueFactory valueFactory)
public void parseQueryResult(InputStream in) throws IOException, QueryResultParseException, QueryResultHandlerException
QueryResultParserInputStream into the
handler setup using QueryResultParser.setQueryResultHandler(QueryResultHandler).in - 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.QueryResultHandlerException - If the QueryResultHandler set in
QueryResultParser.setQueryResultHandler(QueryResultHandler) throws an
exception.protected boolean parseQueryResultInternal(InputStream in, boolean attemptParseBoolean, boolean attemptParseTuple) throws IOException, QueryResultParseException, QueryResultHandlerException
Copyright © 2001–2015 Aduna. All rights reserved.