Strabon

changeset 331:f9c40e79fe8b

added dummy class for GeoJSON results encoding. Fill it and fix Bug #05
author Babis Nikolaou <charnik@di.uoa.gr>
date Fri Jun 22 20:30:04 2012 +0300 (2012-06-22)
parents 26fe4bcae66a
children 1fc7c20f440e
files resultio/src/main/java/org/openrdf/query/resultio/sparqlxml/stSPARQLResultsGeoJSONWriter.java
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/resultio/src/main/java/org/openrdf/query/resultio/sparqlxml/stSPARQLResultsGeoJSONWriter.java	Fri Jun 22 20:30:04 2012 +0300
     1.3 @@ -0,0 +1,32 @@
     1.4 +package org.openrdf.query.resultio.sparqlxml;
     1.5 +
     1.6 +import java.util.List;
     1.7 +
     1.8 +import org.openrdf.query.BindingSet;
     1.9 +import org.openrdf.query.TupleQueryResultHandlerException;
    1.10 +import org.openrdf.query.resultio.TupleQueryResultFormat;
    1.11 +import org.openrdf.query.resultio.TupleQueryResultWriter;
    1.12 +
    1.13 +public class stSPARQLResultsGeoJSONWriter implements TupleQueryResultWriter {
    1.14 +
    1.15 +	@Override
    1.16 +	public void startQueryResult(List<String> bindingNames)
    1.17 +			throws TupleQueryResultHandlerException {
    1.18 +		
    1.19 +	}
    1.20 +
    1.21 +	@Override
    1.22 +	public void endQueryResult() throws TupleQueryResultHandlerException {
    1.23 +	}
    1.24 +
    1.25 +	@Override
    1.26 +	public void handleSolution(BindingSet bindingSet)
    1.27 +			throws TupleQueryResultHandlerException {
    1.28 +	}
    1.29 +
    1.30 +	@Override
    1.31 +	public TupleQueryResultFormat getTupleQueryResultFormat() {
    1.32 +		return TupleQueryResultFormat.JSON;
    1.33 +	}
    1.34 +
    1.35 +}