public class BooleanTextWriter extends AbstractQueryResultWriter implements BooleanQueryResultWriter
| Constructor and Description |
|---|
BooleanTextWriter(OutputStream out) |
BooleanTextWriter(Writer writer) |
| 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) |
protected void |
handleSolutionImpl(BindingSet bindingSet) |
void |
handleStylesheet(String stylesheetUrl) |
void |
startDocument() |
void |
startHeader() |
void |
startQueryResult(List<String> bindingNames) |
void |
write(boolean value) |
getFileFormat, getSupportedSettings, getWriterConfig, handleSolution, setWriterConfig, xsdStringToPlainLiteralclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSupportedSettings, getWriterConfig, setWriterConfighandleSolutionacceptsFileFormatpublic BooleanTextWriter(OutputStream out)
public BooleanTextWriter(Writer writer)
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 QueryResultHandlerstartQueryResult in class AbstractQueryResultWriterTupleQueryResultHandlerExceptionpublic void endQueryResult()
throws TupleQueryResultHandlerException
endQueryResult in interface QueryResultHandlerTupleQueryResultHandlerExceptionprotected void handleSolutionImpl(BindingSet bindingSet) throws TupleQueryResultHandlerException
handleSolutionImpl in class AbstractQueryResultWriterTupleQueryResultHandlerExceptionpublic void handleNamespace(String prefix, String uri) throws QueryResultHandlerException
handleNamespace in interface QueryResultWriterQueryResultHandlerExceptionCopyright © 2015-2021 Eclipse Foundation. All Rights Reserved.