public class BinaryQueryResultWriter extends AbstractQueryResultWriter implements TupleQueryResultWriter
BinaryQueryResultConstants.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
tupleVariablesFound |
| Constructor and Description |
|---|
BinaryQueryResultWriter(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
endHeader() |
void |
endQueryResult() |
void |
error(QueryErrorType errType,
String msg)
Writes an error msg to the stream.
|
TupleQueryResultFormat |
getQueryResultFormat() |
TupleQueryResultFormat |
getTupleQueryResultFormat() |
void |
handleBoolean(boolean value) |
void |
handleLinks(List<String> linkUrls) |
void |
handleNamespace(String prefix,
String uri) |
void |
handleSolution(BindingSet bindingSet) |
void |
handleStylesheet(String stylesheetUrl) |
void |
startDocument() |
void |
startHeader() |
void |
startQueryResult(List<String> bindingNames) |
getSupportedSettings, getWriterConfig, setWriterConfig, xsdStringToPlainLiteralclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSupportedSettings, getWriterConfig, setWriterConfigpublic BinaryQueryResultWriter(OutputStream out)
public final TupleQueryResultFormat getTupleQueryResultFormat()
getTupleQueryResultFormat in interface TupleQueryResultWriterpublic final TupleQueryResultFormat getQueryResultFormat()
getQueryResultFormat in interface QueryResultWriterpublic void startDocument()
throws TupleQueryResultHandlerException
startDocument in interface QueryResultWriterTupleQueryResultHandlerExceptionpublic void startQueryResult(List<String> bindingNames) throws TupleQueryResultHandlerException
startQueryResult in interface QueryResultHandlerTupleQueryResultHandlerExceptionpublic void endQueryResult()
throws TupleQueryResultHandlerException
endQueryResult in interface QueryResultHandlerTupleQueryResultHandlerExceptionpublic void handleSolution(BindingSet bindingSet) throws TupleQueryResultHandlerException
handleSolution in interface QueryResultHandlerTupleQueryResultHandlerExceptionpublic void handleNamespace(String prefix, String uri) throws QueryResultHandlerException
handleNamespace in interface QueryResultWriterQueryResultHandlerExceptionpublic void error(QueryErrorType errType, String msg) throws IOException
errType - The error type.msg - The error message.IOException - When the error could not be written to the stream.public void handleStylesheet(String stylesheetUrl) throws QueryResultHandlerException
handleStylesheet in interface QueryResultWriterQueryResultHandlerExceptionpublic void startHeader()
throws QueryResultHandlerException
startHeader in interface QueryResultWriterQueryResultHandlerExceptionpublic void handleLinks(List<String> linkUrls) throws QueryResultHandlerException
handleLinks in interface QueryResultHandlerQueryResultHandlerExceptionpublic void endHeader()
throws QueryResultHandlerException
endHeader in interface QueryResultWriterQueryResultHandlerExceptionpublic void handleBoolean(boolean value)
throws QueryResultHandlerException
handleBoolean in interface QueryResultHandlerQueryResultHandlerExceptionCopyright © 2015-2018 Eclipse Foundation. All Rights Reserved.