org.openrdf.query.resultio.text
Class BooleanTextWriterFactory

java.lang.Object
  extended by org.openrdf.query.resultio.text.BooleanTextWriterFactory
All Implemented Interfaces:
BooleanQueryResultWriterFactory

public class BooleanTextWriterFactory
extends Object
implements BooleanQueryResultWriterFactory

A BooleanQueryResultWriterFactory for writers of plain text boolean query results.

Author:
Arjohn Kampman

Constructor Summary
BooleanTextWriterFactory()
           
 
Method Summary
 BooleanQueryResultFormat getBooleanQueryResultFormat()
          Returns BooleanQueryResultFormat.TEXT.
 BooleanQueryResultWriter getWriter(OutputStream out)
          Returns a new instance of BinaryQueryResultWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanTextWriterFactory

public BooleanTextWriterFactory()
Method Detail

getBooleanQueryResultFormat

public BooleanQueryResultFormat getBooleanQueryResultFormat()
Returns BooleanQueryResultFormat.TEXT.

Specified by:
getBooleanQueryResultFormat in interface BooleanQueryResultWriterFactory

getWriter

public BooleanQueryResultWriter getWriter(OutputStream out)
Returns a new instance of BinaryQueryResultWriter.

Specified by:
getWriter in interface BooleanQueryResultWriterFactory
Parameters:
out - The OutputStream to write the result to.


Copyright © 2001-2007 Aduna. All Rights Reserved.