org.openrdf.query.resultio.sparqlxml
Class SPARQLBooleanXMLWriterFactory

java.lang.Object
  extended by org.openrdf.query.resultio.sparqlxml.SPARQLBooleanXMLWriterFactory
All Implemented Interfaces:
BooleanQueryResultWriterFactory

public class SPARQLBooleanXMLWriterFactory
extends Object
implements BooleanQueryResultWriterFactory

A BooleanQueryResultWriterFactory for writers of SPARQL/XML boolean query results.

Author:
Arjohn Kampman

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

Constructor Detail

SPARQLBooleanXMLWriterFactory

public SPARQLBooleanXMLWriterFactory()
Method Detail

getBooleanQueryResultFormat

public BooleanQueryResultFormat getBooleanQueryResultFormat()
Returns BooleanQueryResultFormat.SPARQL.

Specified by:
getBooleanQueryResultFormat in interface BooleanQueryResultWriterFactory

getWriter

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

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


Copyright © 2001-2007 Aduna. All Rights Reserved.