public class BooleanTextWriter extends AbstractQueryResultWriter implements BooleanQueryResultWriter
| Constructor and Description |
|---|
BooleanTextWriter(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
endHeader() |
void |
endQueryResult() |
BooleanQueryResultFormat |
getBooleanQueryResultFormat() |
BooleanQueryResultFormat |
getQueryResultFormat() |
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) |
void |
write(boolean value) |
getSupportedSettings, getWriterConfig, setWriterConfig, xsdStringToPlainLiteralclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSupportedSettings, getWriterConfig, setWriterConfigpublic BooleanTextWriter(OutputStream out)
public final BooleanQueryResultFormat getBooleanQueryResultFormat()
getBooleanQueryResultFormat in interface BooleanQueryResultWriterpublic final BooleanQueryResultFormat getQueryResultFormat()
getQueryResultFormat in interface QueryResultWriterpublic void write(boolean value)
throws IOException
write in interface BooleanQueryResultWriterIOExceptionpublic void handleBoolean(boolean value)
throws QueryResultHandlerException
handleBoolean in interface QueryResultHandlerQueryResultHandlerExceptionpublic void startDocument()
throws QueryResultHandlerException
startDocument in interface QueryResultWriterQueryResultHandlerExceptionpublic 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 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 QueryResultWriterQueryResultHandlerExceptionCopyright © 2015-2017 Eclipse Foundation. All Rights Reserved.