package org.openrdf.query.resultio.sparqljson;

import java.io.OutputStream;
import java.util.List;

import org.openrdf.query.BindingSet;
import org.openrdf.query.TupleQueryResultHandlerException;

public class stSPARQLResultsGeoJSONWriter extends SPARQLResultsJSONWriter {

	public stSPARQLResultsGeoJSONWriter(OutputStream out) {
		super(out);
	}

	@Override
	public void startQueryResult(List<String> bindingNames)
			throws TupleQueryResultHandlerException {
		
	}

	@Override
	public void endQueryResult() throws TupleQueryResultHandlerException {
	}

	@Override
	public void handleSolution(BindingSet bindingSet)
			throws TupleQueryResultHandlerException {
	}
}

@@ -189,16 +189,132 @@
 ception;
+%0Aimport org.openrdf.query.resultio.TupleQueryResultFormat;%0Aimport org.openrdf.query.resultio.TupleQueryResultWriter;
 %0A%0Apublic
@@ -353,33 +353,35 @@
 ter 
-extends SPARQL
+implements TupleQuery
 Result
-sJSON
 Writ
@@ -447,22 +447,8 @@
 ) %7B%0A
-%09%09super(out);%0A
 %09%7D%0A%0A
@@ -514,20 +514,17 @@
 ngNames)
-%0A%09%09%09
+ 
 throws T
@@ -716,12 +716,9 @@
 Set)
-%0A%09%09%09
+ 
 thro
@@ -757,11 +757,125 @@
 ion %7B%0A%09%7D
+%0A%0A%09@Override%0A%09public TupleQueryResultFormat getTupleQueryResultFormat() %7B%0A%09%09return TupleQueryResultFormat.JSON;%0A%09%7D
 %0A%7D%0A

revert stSPARQLResultsGeoJSONWriter from extending SPARQLResultsJSONWriter: all functionality is private