01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 2007.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.query.resultio;
07:
08: import java.io.IOException;
09:
10: /**
11: * The interface of objects that writer query results in a specific query result
12: * format.
13: *
14: * @author Arjohn Kampman
15: */
16: public interface BooleanQueryResultWriter {
17:
18: /**
19: * Gets the query result format that this writer uses.
20: */
21: public BooleanQueryResultFormat getBooleanQueryResultFormat();
22:
23: /**
24: * Writes the specified boolean value.
25: */
26: public void write(boolean value) throws IOException;
27: }
|