Strabon
changeset 333:b83490fedef5
moved stSPARQLResultsGeoJSONWriter to sparqljson package
author | Babis Nikolaou <charnik@di.uoa.gr> |
---|---|
date | Sun Jun 24 13:42:16 2012 +0300 (2012-06-24) |
parents | 1fc7c20f440e |
children | 66668a121eda |
files | resultio/src/main/java/org/openrdf/query/resultio/sparqljson/stSPARQLResultsGeoJSONWriter.java 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/sparqljson/stSPARQLResultsGeoJSONWriter.java Sun Jun 24 13:42:16 2012 +0300 1.3 @@ -0,0 +1,32 @@ 1.4 +package org.openrdf.query.resultio.sparqljson; 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 +}
2.1 --- a/resultio/src/main/java/org/openrdf/query/resultio/sparqlxml/stSPARQLResultsGeoJSONWriter.java Fri Jun 22 20:38:40 2012 +0300 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,32 +0,0 @@ 2.4 -package org.openrdf.query.resultio.sparqlxml; 2.5 - 2.6 -import java.util.List; 2.7 - 2.8 -import org.openrdf.query.BindingSet; 2.9 -import org.openrdf.query.TupleQueryResultHandlerException; 2.10 -import org.openrdf.query.resultio.TupleQueryResultFormat; 2.11 -import org.openrdf.query.resultio.TupleQueryResultWriter; 2.12 - 2.13 -public class stSPARQLResultsGeoJSONWriter implements TupleQueryResultWriter { 2.14 - 2.15 - @Override 2.16 - public void startQueryResult(List<String> bindingNames) 2.17 - throws TupleQueryResultHandlerException { 2.18 - 2.19 - } 2.20 - 2.21 - @Override 2.22 - public void endQueryResult() throws TupleQueryResultHandlerException { 2.23 - } 2.24 - 2.25 - @Override 2.26 - public void handleSolution(BindingSet bindingSet) 2.27 - throws TupleQueryResultHandlerException { 2.28 - } 2.29 - 2.30 - @Override 2.31 - public TupleQueryResultFormat getTupleQueryResultFormat() { 2.32 - return TupleQueryResultFormat.JSON; 2.33 - } 2.34 - 2.35 -}