public class ResultSetReaderXML extends Object implements ResultSetReader
| Modifier and Type | Field and Description |
|---|---|
static ResultSetReaderFactory |
factory |
| Modifier and Type | Method and Description |
|---|---|
ResultSet |
read(Reader in,
Context context)
Using
ResultSetReader.read(InputStream, Context) is preferred. |
SPARQLResult |
readAny(InputStream in,
Context context)
Read from an
InputStream and produce a SPARQLResult. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadpublic static final ResultSetReaderFactory factory
public SPARQLResult readAny(InputStream in, Context context)
ResultSetReaderInputStream and produce a SPARQLResult.
Note that return result may stream and so the input stream may be read
while the ResultSet is used.
See ResultSetReader.read(InputStream, Context) for more detailsreadAny in interface ResultSetReaderin - InputStream to read from.public ResultSet read(Reader in, Context context)
ResultSetReaderResultSetReader.read(InputStream, Context) is preferred.
Notall formast support reading from a java.io.Reader.
Read from an Reader and produce a ResultSet.
Note that return result may stream and so the reader may be read
while the ResultSet is used.
See ResultSetFactory.copyResults(ResultSet) for a ResultSet that is detached from the InputStream.
read in interface ResultSetReaderin - ReaderLicenced under the Apache License, Version 2.0