public abstract class AbstractBooleanQueryResultWriter extends AbstractQueryResultWriter implements org.openrdf.query.resultio.BooleanQueryResultWriter
BooleanQueryResultWriter base for creating custom writer implementations which throws UnsupportedOperationException
exceptions for the non-boolean result format methods which are incorrectly in the QueryResultWriter interface.
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBooleanQueryResultWriter(org.openrdf.query.resultio.BooleanQueryResultFormat theFormat) |
| Modifier and Type | Method and Description |
|---|---|
void |
endQueryResult() |
org.openrdf.query.resultio.BooleanQueryResultFormat |
getBooleanQueryResultFormat() |
void |
handleBoolean(boolean theValue) |
void |
handleSolution(org.openrdf.query.BindingSet theBindings) |
void |
startQueryResult(List<String> theStrings) |
void |
write(boolean theValue)
Deprecated.
|
protected abstract void |
writeBooleanValue(boolean theValue) |
endHeader, getQueryResultFormat, getSupportedSettings, getWriterConfig, handleLinks, handleNamespace, handleStylesheet, setWriterConfig, startDocument, startHeaderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected AbstractBooleanQueryResultWriter(org.openrdf.query.resultio.BooleanQueryResultFormat theFormat)
protected abstract void writeBooleanValue(boolean theValue)
throws org.openrdf.query.QueryResultHandlerException
org.openrdf.query.QueryResultHandlerExceptionpublic void startQueryResult(List<String> theStrings) throws org.openrdf.query.TupleQueryResultHandlerException
startQueryResult in interface org.openrdf.query.QueryResultHandlerorg.openrdf.query.TupleQueryResultHandlerExceptionpublic void endQueryResult()
throws org.openrdf.query.TupleQueryResultHandlerException
endQueryResult in interface org.openrdf.query.QueryResultHandlerorg.openrdf.query.TupleQueryResultHandlerExceptionpublic void handleSolution(org.openrdf.query.BindingSet theBindings)
throws org.openrdf.query.TupleQueryResultHandlerException
handleSolution in interface org.openrdf.query.QueryResultHandlerorg.openrdf.query.TupleQueryResultHandlerException@Deprecated public final void write(boolean theValue) throws IOException
write in interface org.openrdf.query.resultio.BooleanQueryResultWriterIOExceptionpublic final void handleBoolean(boolean theValue)
throws org.openrdf.query.QueryResultHandlerException
handleBoolean in interface org.openrdf.query.QueryResultHandlerhandleBoolean in class AbstractQueryResultWriterorg.openrdf.query.QueryResultHandlerExceptionpublic final org.openrdf.query.resultio.BooleanQueryResultFormat getBooleanQueryResultFormat()
getBooleanQueryResultFormat in interface org.openrdf.query.resultio.BooleanQueryResultWriterCopyright © 2010-2016 Stardog Union. All Rights Reserved.