public abstract class AbstractSPARQLXMLParser extends AbstractQueryResultParser implements ErrorHandler
handler, valueFactory| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSPARQLXMLParser() |
protected |
AbstractSPARQLXMLParser(org.eclipse.rdf4j.model.ValueFactory valueFactory) |
getParseErrorListener, getParseLocationListener, getParserConfig, set, setParseErrorListener, setParseLocationListener, setParserConfig, setQueryResultHandler, setValueFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetQueryResultFormatprotected AbstractSPARQLXMLParser()
protected AbstractSPARQLXMLParser(org.eclipse.rdf4j.model.ValueFactory valueFactory)
public void parseQueryResult(InputStream in) throws IOException, QueryResultParseException, QueryResultHandlerException
parseQueryResult in interface QueryResultParserIOExceptionQueryResultParseExceptionQueryResultHandlerExceptionprotected boolean parseQueryResultInternal(InputStream in, boolean attemptParseBoolean, boolean attemptParseTuple) throws IOException, QueryResultParseException, QueryResultHandlerException
protected void reportWarning(String msg)
public Collection<org.eclipse.rdf4j.rio.RioSetting<?>> getCompulsoryXmlPropertySettings()
XMLReader.setProperty(String, Object)
Subclasses can override this to specify more supported settings.
RioSettings that indicate which properties will always be setup using
XMLReader.setProperty(String, Object).public Collection<org.eclipse.rdf4j.rio.RioSetting<Boolean>> getCompulsoryXmlFeatureSettings()
XMLReader.setFeature(String, boolean).
Subclasses can override this to specify more supported settings.
RioSettings that indicate which boolean settings will always be setup using
XMLReader.setFeature(String, boolean).public Collection<org.eclipse.rdf4j.rio.RioSetting<?>> getOptionalXmlPropertySettings()
AbstractQueryResultParser.getParserConfig(), as XML parser
properties using XMLReader.setProperty(String, Object)
Subclasses can override this to specify more supported settings.
RioSettings that indicate which properties can be setup using
XMLReader.setProperty(String, Object).public Collection<org.eclipse.rdf4j.rio.RioSetting<Boolean>> getOptionalXmlFeatureSettings()
AbstractQueryResultParser.getParserConfig(), as XML parser features
using XMLReader.setFeature(String, boolean).
Subclasses can override this to specify more supported settings.
RioSettings that indicate which boolean settings can be setup using
XMLReader.setFeature(String, boolean).public Collection<org.eclipse.rdf4j.rio.RioSetting<?>> getSupportedSettings()
getSupportedSettings in interface QueryResultParsergetSupportedSettings in class AbstractQueryResultParserpublic void warning(SAXParseException exception) throws SAXException
warning in interface ErrorHandlerSAXExceptionpublic void error(SAXParseException exception) throws SAXException
error in interface ErrorHandlerSAXExceptionpublic void fatalError(SAXParseException exception) throws SAXException
fatalError in interface ErrorHandlerSAXExceptionCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.