semanticwfs  Version 0.1.0.0
HTMLFormatter Class Reference

Formats a query result to HTML. More...

Inheritance diagram for HTMLFormatter:
Collaboration diagram for HTMLFormatter:

Public Member Functions

 HTMLFormatter ()
 Constructor for this class. More...
 
String keyPathToLabel (String keyPath)
 Shortens a given URI or a list of URIs to a label or a list of labels. More...
 
void collectColumns (StringBuilder builder, JSONObject properties, List< String > propToTableCol, String keyPath, Integer index)
 Reads columns recursively and prints the results in a given format. More...
 
Boolean getVectorOrCoverageRepresentationForHTML (QuerySolution first)
 
String formatter (ResultSet results, String startingElement, String featuretype, String propertytype, String typeColumn, Boolean onlyproperty, Boolean onlyhits, String srsName, String indvar, String epsg, List< String > eligiblenamespaces, List< String > noteligiblenamespaces, StyleObject mapstyle, Boolean alternativeFormat, Boolean invertXY, Boolean coverage, Writer out) throws XMLStreamException, JSONException, IOException
 
String formatter (Model results, String startingElement, String featuretype, String propertytype, String typeColumn, Boolean onlyproperty, Boolean onlyhits, String srsName, String indvar, String epsg, List< String > eligiblenamespaces, List< String > noteligiblenamespaces, StyleObject mapstyle, Boolean alternativeFormat, Boolean invertXY, Boolean coverage, Writer out) throws XMLStreamException, IOException
 
Geometry parseVectorLiteral (String literalValue, String literalType, String epsg, String srsName)
 
String parseCoverageLiteral (String literalValue, String literalType, String epsg, String srsName)
 
Object parseLiteral (String literalValue, String literalType, String epsg, String srsName)
 

Static Public Member Functions

static ResultFormatter getFormatter (String formatString)
 

Public Attributes

String htmlHeader = ""
 HTMLHeader for export 1. More...
 
String htmlHeader2 = ""
 HTMLHeader for export 2. More...
 
String htmlcovHeader = ""
 HTMLCovHeader for export 2. More...
 
Integer lastQueriedElemCount =0
 
String mimeType ="text/plain"
 
String exposedType ="application/vnd.geojson"
 
String urlformat ="json"
 
String label ="JSON"
 
String definition =""
 
String fileextension ="json"
 
Boolean constructQuery =false
 
Map< String, String > contextMapper =new TreeMap<>()
 
ResultStyleFormatter styleformatter
 
WKTReader wktreader =new WKTReader()
 
WKBReader wkbreader =new WKBReader()
 
KMLReader kmlreader =new KMLReader()
 
GeoJSONReader geojsonreader =new GeoJSONReader()
 

Static Public Attributes

static Map< String, ResultFormatterresultMap =new TreeMap<String, ResultFormatter>()
 
static Map< String, String > labelMap =new TreeMap<>()
 
static Set< String > vectorLiteralMap =new TreeSet<>()
 
static Set< String > coverageLiteralMap =new TreeSet<>()
 
static final Integer FLUSHTHRESHOLD =20
 
static final String[] mediatypes
 

Static Package Functions

static String readFile (String path, Charset encoding) throws IOException
 Utility method to read a file. More...
 
static void addToMaps (String key, ResultFormatter format)
 
 [static initializer]
 

Detailed Description

Formats a query result to HTML.

Constructor & Destructor Documentation

◆ HTMLFormatter()

Constructor for this class.

Reads HTML header from given HTML template files

38  {
39  super();
40  try {
41  this.htmlHeader = readFile("htmltemplate.txt", StandardCharsets.UTF_8);
42  } catch (IOException e) {
43  e.printStackTrace();
44  }
45  try {
46  this.htmlcovHeader = readFile("htmlcovtemplate.txt", StandardCharsets.UTF_8);
47  } catch (IOException e) {
48  e.printStackTrace();
49  }
50  try {
51  this.htmlHeader2 = readFile("htmltemplate2.txt", StandardCharsets.UTF_8);
52  } catch (IOException e) {
53  e.printStackTrace();
54  }
55  this.mimeType = "text/html";
56  this.exposedType = "text/html";
57  this.urlformat = "html";
58  this.label = "HTML";
59  this.fileextension = "html";
60  this.definition = "https://html.spec.whatwg.org";
61  }
String htmlHeader
HTMLHeader for export 1.
Definition: HTMLFormatter.java:30
String htmlcovHeader
HTMLCovHeader for export 2.
Definition: HTMLFormatter.java:34
String htmlHeader2
HTMLHeader for export 2.
Definition: HTMLFormatter.java:32
static String readFile(String path, Charset encoding)
Utility method to read a file.
Definition: HTMLFormatter.java:71
String mimeType
Definition: ResultFormatter.java:89
String definition
Definition: ResultFormatter.java:97
String fileextension
Definition: ResultFormatter.java:99
String exposedType
Definition: ResultFormatter.java:91
String urlformat
Definition: ResultFormatter.java:93
String label
Definition: ResultFormatter.java:95

References ResultFormatter.definition, ResultFormatter.exposedType, ResultFormatter.fileextension, ResultFormatter.label, ResultFormatter.mimeType, HTMLFormatter.readFile(), and ResultFormatter.urlformat.

Member Function Documentation

◆ [static initializer]()

[static initializer]
staticpackageinherited

◆ addToMaps()

static void addToMaps ( String  key,
ResultFormatter  format 
)
staticpackageinherited
288  {
289  resultMap.put(key, format);
290  labelMap.put(key,format.label);
291  resultMap.put(format.mimeType, format);
292  }
static Map< String, String > labelMap
Definition: ResultFormatter.java:115
static Map< String, ResultFormatter > resultMap
Definition: ResultFormatter.java:85

References ResultFormatter.label, ResultFormatter.labelMap, ResultFormatter.mimeType, and ResultFormatter.resultMap.

◆ collectColumns()

void collectColumns ( StringBuilder  builder,
JSONObject  properties,
List< String >  propToTableCol,
String  keyPath,
Integer  index 
)

Reads columns recursively and prints the results in a given format.

Parameters
builderThe StringBuilder for collecting the result
propertiesProperties as given by the GeoJSON input
propToTableColList of properties which are mapped to the result table
keyPathThe property path to reconstruct the property chain in case of recursion
indexThe index in the table list
117  {
118  for (String key : properties.keySet()) {
119  Boolean subcols = false;
120  if (keyPath.isEmpty()) {
121  try {
122  collectColumns(builder, properties.getJSONObject(key), propToTableCol, key, index);
123  subcols = true;
124  } catch (Exception e) {
125 
126  }
127  } else {
128  try {
129  collectColumns(builder, properties.getJSONObject(key), propToTableCol, keyPath + ";" + key, index);
130  subcols = true;
131  } catch (Exception e) {
132 
133  }
134  }
135  if (!subcols) {
136  String label = "";
137  if (keyPath.isEmpty()) {
138  label = key;
139  propToTableCol.add(key);
140  } else {
141  propToTableCol.add(keyPath + ";" + key);
142  label = keyPath + ";" + key;
143  }
144  index++;
145  if (key.startsWith("http") || key.startsWith("www.")) {
146  if (key.contains("#")) {
147  builder.append("<th align=\"center\"><a href=\"" + key + "\" target=\"_blank\">"
148  + keyPathToLabel(label) + "</a></td>");
149  } else {
150  builder.append("<th align=\"center\"><a href=\"" + key + "\" target=\"_blank\">"
151  + keyPathToLabel(label) + "</a></td>");
152  }
153  } else {
154  builder.append("<th align=\"center\"><a href=\"" + key + "\" target=\"_blank\">"
155  + keyPathToLabel(label) + "</a></td>");
156  }
157  }
158  }
159 
160  }
void collectColumns(StringBuilder builder, JSONObject properties, List< String > propToTableCol, String keyPath, Integer index)
Reads columns recursively and prints the results in a given format.
Definition: HTMLFormatter.java:116
String keyPathToLabel(String keyPath)
Shortens a given URI or a list of URIs to a label or a list of labels.
Definition: HTMLFormatter.java:82

References HTMLFormatter.keyPathToLabel(), and ResultFormatter.label.

Referenced by HTMLFormatter.formatter().

◆ formatter() [1/2]

String formatter ( Model  results,
String  startingElement,
String  featuretype,
String  propertytype,
String  typeColumn,
Boolean  onlyproperty,
Boolean  onlyhits,
String  srsName,
String  indvar,
String  epsg,
List< String >  eligiblenamespaces,
List< String >  noteligiblenamespaces,
StyleObject  mapstyle,
Boolean  alternativeFormat,
Boolean  invertXY,
Boolean  coverage,
Writer  out 
) throws XMLStreamException, IOException
inherited

◆ formatter() [2/2]

String formatter ( ResultSet  results,
String  startingElement,
String  featuretype,
String  propertytype,
String  typeColumn,
Boolean  onlyproperty,
Boolean  onlyhits,
String  srsName,
String  indvar,
String  epsg,
List< String >  eligiblenamespaces,
List< String >  noteligiblenamespaces,
StyleObject  mapstyle,
Boolean  alternativeFormat,
Boolean  invertXY,
Boolean  coverage,
Writer  out 
) throws XMLStreamException, JSONException, IOException

Reimplemented from ResultFormatter.

188  {
189  StringBuilder builder = new StringBuilder();
190  if(coverage) {
191  ResultFormatter format = resultMap.get("covjson");
192  JSONObject covjson = new JSONObject(
193  format.formatter(results,startingElement, featuretype,propertytype, typeColumn, onlyproperty,onlyhits,"",
194  indvar,epsg,eligiblenamespaces,noteligiblenamespaces,mapstyle,alternativeFormat,invertXY,coverage,out));
195  this.lastQueriedElemCount = format.lastQueriedElemCount;
196  builder.append("<script>var overlayMaps={}; var overlayControl; var typeColumn=\"" + typeColumn
197  + "\"; var markercollection=[];var epsg=\""+epsg+"\"; var invertXY="+invertXY+"; var cov=" + covjson.toString()+"; "+"var parameters=[");
198  Iterator<String> it=covjson.getJSONObject("parameters").keySet().iterator();
199  while(it.hasNext()) {
200  builder.append("\""+it.next()+"\"");
201  if(it.hasNext())
202  builder.append(",");
203  }
204  builder.append("]"+System.lineSeparator());
205  builder.append("</script>");
206  builder.append(htmlcovHeader);
207  }else {
208  ResultFormatter format = resultMap.get("geojson");
209  JSONObject geojson = new JSONObject(
210  format.formatter(results,startingElement, featuretype,propertytype, typeColumn, onlyproperty,onlyhits,"",
211  indvar,epsg,eligiblenamespaces,noteligiblenamespaces,mapstyle,alternativeFormat,invertXY,coverage,out));
212  this.lastQueriedElemCount = format.lastQueriedElemCount;
213  // System.out.println(geojson);
214 
215  if (!onlyproperty) {
216  builder.append("<script>var overlayMaps={}; var overlayControl; var typeColumn=\"" + typeColumn
217  + "\"; var markercollection=[];var epsg=\""+epsg+"\"; var invertXY="+invertXY+"; var geojson=" + geojson.toString());
218  builder.append("</script>");
219  builder.append(htmlHeader);
220  }
221  builder.append("</div><div class=\"row\"><div class=\"left col-sm-12\"><select id=\"styles\">");
222  builder.append("<option value=\""+featuretype+"_DefaultStyle\">"+featuretype+"_DefaultStyle</option>");
223  builder.append("</select><button id=\"applystyle\"/>Apply Style</button><table width=\"100%\" align=\"center\" id=\"queryres\" class=\"description\" border=\"1\">");
224  Boolean first = true;
225  JSONArray features = geojson.getJSONArray("features");
226  List<String> propToTableCol=new LinkedList<String>();
227  for (int i = 0; i < features.length(); i++) {
228  if (first) {
229  builder.append("<thead><tr class=\"even\"><th align=\"center\">FeatureID</th>");
230  if (!onlyproperty) {
231  collectColumns(builder, features.getJSONObject(0).getJSONObject("properties"), propToTableCol, "",0);
232  //System.out.println(propToTableCol);
233  }else {
234  if (propertytype.startsWith("http")) {
235  if (propertytype.contains("#")) {
236  builder.append("<th align=\"center\"><a href=\"" + propertytype + "\" target=\"_blank\" property=\""+propertytype+"\">"
237  + propertytype.substring(propertytype.lastIndexOf('#') + 1) + "</a></td>");
238  } else {
239  builder.append("<th align=\"center\"><a href=\"" + propertytype + "\" target=\"_blank\" property=\""+propertytype+"\">"
240  + propertytype.substring(propertytype.lastIndexOf('/') + 1) + "</a></td>");
241  }
242  } else {
243  builder.append("<th align=\"center\"><a href=\"" + propertytype + "\" target=\"_blank\" property=\""+propertytype+"\">" + propertytype
244  + "</a></td>");
245  }
246  }
247  builder.append("</tr></thead><tbody>");
248  first = false;
249  }
250  if(i%2==0){
251  builder.append("<tr class=\"even\" about=\""+features.getJSONObject(i).get("id")+"\">");
252  }else{
253  builder.append("<tr class=\"odd\" about=\""+features.getJSONObject(i).get("id")+"\">");
254  }
255  builder.append("<td align=\"center\"><a href=\"" + features.getJSONObject(i).get("id") + "\" target=\"_blank\">");
256  String vall=features.getJSONObject(i).get("id").toString();
257  if (vall.contains("http")) {
258  if (vall.contains("^^")) {
259  builder.append("<a href=\"" + vall.substring(vall.lastIndexOf('^') +1) + "\" target=\"_blank\" dataType=\""+vall.substring(vall.lastIndexOf('^') +1)+"\">"
260  + vall.substring(0, vall.lastIndexOf('^') - 1) + "</a>");
261  } else if (vall.contains("#")) {
262  if(alternativeFormat) {
263  builder.append("<a href=\"" +WebService.wfsconf.get("baseurl")+"/collections/"+featuretype+"/items/"+ vall.substring(vall.lastIndexOf('#')+1)+ "\">"
264  + vall.substring(vall.lastIndexOf('#')+1) + "</a>");
265  }else {
266  builder.append("<a href=\"" + vall + "\" target=\"_blank\" resource=\""+vall+"\">"
267  + vall.substring(vall.lastIndexOf('#') + 1) + "</a>");
268  }
269 
270  } else {
271  if(alternativeFormat) {
272  builder.append("<a href=\"" +WebService.wfsconf.get("baseurl")+"/collections/"+featuretype+"/items/"+ vall.substring(vall.lastIndexOf('/')+1)+ "\">"
273  + vall.substring(vall.lastIndexOf('/')+1) + "</a>");
274  }else {
275  builder.append("<a href=\"" + vall + "\" target=\"_blank\">" + vall.substring(vall.lastIndexOf('/')+1)
276  + "</a>");
277  }
278  }
279  } else {
280  builder.append(vall);
281  }
282  builder.append("</td>");
283  // System.out.println(builder.toString());
284  for(String key:propToTableCol) {
285  //for (String key : features.getJSONObject(i).getJSONObject("properties").keySet()) {
286  // System.out.println(key);
287  //String key=propToTableCol.get(col);
288  String value=null;
289  JSONObject curobj=features.getJSONObject(i).getJSONObject("properties");
290  //System.out.println(key);
291  if(key.contains(";")) {
292  String[] splitted=key.split(";");
293  //System.out.println("Splitted key: "+Arrays.toString(splitted));
294  for(String spl:splitted) {
295  if(!spl.isEmpty()) {
296  try {
297  curobj=curobj.getJSONObject(spl);
298  //System.out.println(curobj.toString());
299  }catch(Exception e) {
300  value=curobj.get(spl).toString();
301  //System.out.println("Got Value: "+value);
302  }
303  }
304  }
305  }else {
306  if(features.getJSONObject(i).getJSONObject("properties").has(key)) {
307  value = features.getJSONObject(i).getJSONObject("properties").get(key).toString();
308  }
309  }
310  //System.out.println(key+" - "+value);
311  if(value!=null) {
312  //String value = features.getJSONObject(i).getJSONObject("properties").get(key).toString();
313  if(value.startsWith("[")) {
314  value=value.replace("[","").replace("]", "").replace("\"", "");
315  builder.append("<td align=\"center\">");
316  for(String val:value.split(",")) {
317  if(value.startsWith("www.")) {
318  value="http://"+value;
319  }
320  if (val.contains("http")) {
321  if (val.contains("^^")) {
322  builder.append("<a href=\"" + val.substring(val.lastIndexOf('^') +1) + "\" target=\"_blank\" property=\""+key+"\" dataType=\""+val.substring(val.lastIndexOf('^') +1)+"\" content=\""+val.substring(0, val.lastIndexOf('^') - 1)+"\">"
323  + val.substring(0, val.lastIndexOf('^') - 1) + "</a>");
324  } else if (val.contains("#")) {
325  builder.append("<a href=\"" + val + "\" target=\"_blank\" property=\""+key+"\" resource=\""+val.toString()+"\">"
326  + val.substring(val.lastIndexOf('#') + 1) + "</a>");
327  } else if (val.contains("@")) {
328  builder.append("<a href=\"mailto:" + val + "\" target=\"_blank\" property=\""+key+"\" resource=\""+val.toString()+"\">"
329  + val + "</a>");
330  } else {
331  builder.append("<a href=\"" + val + "\" target=\"_blank\" property=\""+key+"\" resource=\""+val.toString()+"\">" + val.substring(val.lastIndexOf('/')+1)
332  + "</a>");
333  }
334  } else {
335  builder.append("<span property=\""+key+"\" content=\""+value+"\">"+value+"</span>");
336  }
337  builder.append("<br/>");
338  }
339  builder.append("</td>");
340  }else {
341  if(value.startsWith("www.")) {
342  value="http://"+value;
343  }
344  if (value.contains("http")) {
345  if (value.contains("^^")) {
346  builder.append("<td align=\"center\"><a href=\"" + value.substring(value.lastIndexOf('^') +1) + "\" target=\"_blank\" property=\""+key+"\" content=\""+value.substring(0, value.lastIndexOf('^') - 1)+"\" dataType=\""+value.substring(value.lastIndexOf('^') +1)+"\">"
347  + value.substring(0, value.lastIndexOf('^') - 1) + "</a></td>");
348  } else if (value.contains("#")) {
349  builder.append("<td align=\"center\"><a href=\"" + value + "\" target=\"_blank\" property=\""+key+"\" resource=\""+value.toString()+"\">"
350  + value.substring(value.lastIndexOf('#') + 1) + "</a></td>");
351  } else if (value.contains("@")) {
352  builder.append("<a href=\"mailto:").append(value).append("\" target=\"_blank\" property=\""+key+"\" resource=\""+value.toString()+"\">").append(value).append("</a>");
353  } else {
354  builder.append("<td align=\"center\"><a href=\"" + value + "\" target=\"_blank\" property=\""+key+"\" resource=\""+value.toString()+"\">" + value.substring(value.lastIndexOf('/')+1)
355  + "</a></td>");
356  }
357  } else {
358  builder.append("<td align=\"center\" content=\""+value+"\" property=\""+key+"\">").append(value).append("</td>");
359  }
360  }
361 
362  }else {
363  builder.append("<td property=\""+key+"\" content=\"\"></td>");
364  }
365  }
366  builder.append("</tr>");
367  }
368  builder.append("</tbody></table></div></div>");
369  }
370  // System.out.println(builder.toString());
371  return builder.toString();
372  }
Integer lastQueriedElemCount
Definition: ResultFormatter.java:87

References HTMLFormatter.collectColumns(), ResultFormatter.formatter(), HTMLFormatter.htmlcovHeader, HTMLFormatter.htmlHeader, ResultFormatter.lastQueriedElemCount, ResultFormatter.resultMap, and WebService.wfsconf.

◆ getFormatter()

static ResultFormatter getFormatter ( String  formatString)
staticinherited
130  {
131  formatString=formatString.toLowerCase();
132  if(resultMap.containsKey(formatString)) {
133  return resultMap.get(formatString);
134  }
135  if(formatString.contains("geojsonseq")) {
136  return resultMap.get("geojsonseq");
137  }
138  if(formatString.equals("application/vnd.geo+json+ld") || formatString.contains("geojsonld") || formatString.contains("geo+json+ld")) {
139  return resultMap.get("geojsonld");
140  }
141  if(formatString.equals("application/geojson") || formatString.contains("geojson") || formatString.contains("geo+json")) {
142  return resultMap.get("geojson");
143  }
144  if(formatString.contains("gml")) {
145  return resultMap.get("gml");
146  }
147  if(formatString.contains("html")) {
148  return resultMap.get("html");
149  }
150  if(formatString.contains("csv")) {
151  return resultMap.get("csv");
152  }
153  if(formatString.contains("ldapi")) {
154  return resultMap.get("ldapi");
155  }
156  if(formatString.contains("gpx")) {
157  return resultMap.get("gpx");
158  }
159  if(formatString.contains("svg")) {
160  return resultMap.get("svg");
161  }
162  if(formatString.contains("cypher")) {
163  return resultMap.get("cypher");
164  }
165  if(formatString.contains("osmlink")) {
166  return resultMap.get("osmlink");
167  }
168  if(formatString.contains("osm")) {
169  return resultMap.get("osm");
170  }
171  if(formatString.contains("ttl")) {
172  return resultMap.get("ttl");
173  }
174  if(formatString.contains("rdfjson")) {
175  return resultMap.get("rdfjson");
176  }
177  if(formatString.contains("rdf")) {
178  return resultMap.get("rdf");
179  }
180  if(formatString.contains("n3")) {
181  return resultMap.get("n3");
182  }
183  if(formatString.contains("jsonp")) {
184  return resultMap.get("jsonp");
185  }
186  if(formatString.contains("jsonn")) {
187  return resultMap.get("jsonn");
188  }
189  if(formatString.contains("nt")) {
190  return resultMap.get("nt");
191  }
192  if(formatString.contains("olc")) {
193  return resultMap.get("olc");
194  }
195  if(formatString.contains("rt")) {
196  return resultMap.get("rt");
197  }
198  if(formatString.contains("nq")) {
199  return resultMap.get("nq");
200  }
201  if(formatString.contains("trig")) {
202  return resultMap.get("trig");
203  }
204  if(formatString.contains("trix")) {
205  return resultMap.get("trix");
206  }
207  if(formatString.contains("geohash")) {
208  return resultMap.get("geohash");
209  }
210  if(formatString.contains("topojson")) {
211  return resultMap.get("topojson");
212  }
213  if(formatString.contains("covjson")) {
214  return resultMap.get("covjson");
215  }
216  if(formatString.contains("jsonseq")) {
217  return resultMap.get("jsonseq");
218  }
219  if(formatString.contains("jsonld")) {
220  return resultMap.get("jsonld");
221  }
222  if(formatString.contains("json")) {
223  return resultMap.get("geojson");
224  }
225  if(formatString.contains("kml")) {
226  return resultMap.get("kml");
227  }
228  if(formatString.contains("hdt")) {
229  return resultMap.get("hdt");
230  }
231  if(formatString.contains("ewkt")) {
232  return resultMap.get("ewkt");
233  }
234  if(formatString.contains("wkt")) {
235  return resultMap.get("wkt");
236  }
237  if(formatString.contains("mvt")) {
238  return resultMap.get("mvt");
239  }
240  if(formatString.contains("latlon")) {
241  return resultMap.get("latlon");
242  }
243  if(formatString.contains("wkb")) {
244  return resultMap.get("wkb");
245  }
246  if(formatString.contains("geouri")) {
247  return resultMap.get("geouri");
248  }
249  if(formatString.contains("mapml")) {
250  return resultMap.get("mapml");
251  }
252  if(formatString.contains("geohash")) {
253  return resultMap.get("geohash");
254  }
255  if(formatString.contains("geotiff")) {
256  return resultMap.get("geotiff");
257  }
258  if(formatString.contains("xlsx")) {
259  return resultMap.get("xlsx");
260  }
261  if(formatString.contains("xls")) {
262  return resultMap.get("xls");
263  }
264  if(formatString.contains("xyz")) {
265  return resultMap.get("xyz");
266  }
267  if(formatString.contains("gxl")) {
268  return resultMap.get("gxl");
269  }
270  if(formatString.contains("gexf")) {
271  return resultMap.get("gexf");
272  }
273  if(formatString.contains("covjson")) {
274  return resultMap.get("covjson");
275  }
276  if(formatString.contains("tgf")) {
277  return resultMap.get("tgf");
278  }
279  if(formatString.contains("polyshape")) {
280  return resultMap.get("polyshape");
281  }
282  if(formatString.contains("hextuples")) {
283  return resultMap.get("hextuples");
284  }
285  return resultMap.get("html");
286  }

References ResultFormatter.resultMap.

Referenced by WebService.collectionInformation(), WebService.collectionItems(), WebService.collections(), WebService.docCollectionItemJSON(), WebService.docCollectionJSON(), TripleStoreConnector.executeLDAPIQuery(), TripleStoreConnector.executePropertyValueQuery(), TripleStoreConnector.executeQuery(), and WebService.queryables().

◆ getVectorOrCoverageRepresentationForHTML()

Boolean getVectorOrCoverageRepresentationForHTML ( QuerySolution  first)
162  {
163  Iterator<String> it = first.varNames();
164  while (it.hasNext()) {
165  String name = it.next();
166  System.out.println(name+" - "+first.get(name).toString());
167  if (name.contains("_geom")) {
168  if (vectorLiteralMap.contains(first.getLiteral(name).getDatatypeURI())) {
169  System.out.println("Assessment Result True: "+first.getLiteral(name).getDatatypeURI());
170  return true;
171  }
172  if (coverageLiteralMap.contains(first.getLiteral(name).getDatatypeURI())) {
173  System.out.println("Assessment Result False: "+first.getLiteral(name).getDatatypeURI());
174  return false;
175  }
176  }
177  }
178  System.out.println("Assessment Result Null: ");
179  return null;
180  }
static Set< String > coverageLiteralMap
Definition: ResultFormatter.java:119
static Set< String > vectorLiteralMap
Definition: ResultFormatter.java:117

References ResultFormatter.coverageLiteralMap, and ResultFormatter.vectorLiteralMap.

◆ keyPathToLabel()

String keyPathToLabel ( String  keyPath)

Shortens a given URI or a list of URIs to a label or a list of labels.

Parameters
keyPathThe String to shorten
Returns
The label
82  {
83  if (!keyPath.contains(";")) {
84  if (keyPath.contains("#")) {
85  return keyPath.substring(keyPath.lastIndexOf('#') + 1);
86  } else {
87  return keyPath.substring(keyPath.lastIndexOf('/') + 1);
88  }
89  }
90  String result = "";
91  String[] splitted = keyPath.split(";");
92  int i = 0;
93  for (i = 0; i < splitted.length; i++) {
94  if (splitted[i].contains("#")) {
95  result += splitted[i].substring(splitted[i].lastIndexOf('#') + 1);
96  } else {
97  result += splitted[i].substring(splitted[i].lastIndexOf('/') + 1);
98  }
99  if (i < splitted.length - 1) {
100  result += ".";
101  }
102  }
103  return result;
104  }

Referenced by HTMLFormatter.collectColumns().

◆ parseCoverageLiteral()

String parseCoverageLiteral ( String  literalValue,
String  literalType,
String  epsg,
String  srsName 
)
inherited

Reimplemented in VectorResultFormatter.

413  {
414  if(literalType.contains("wkb")) {
415 
416  }else if(literalType.contains("covjson")) {
417 
418  }else if(literalType.contains("xyz")) {
419  return literalValue;
420  }
421  return null;
422  }

Referenced by CovJSONFormatter.formatter(), and ResultFormatter.parseLiteral().

◆ parseLiteral()

Object parseLiteral ( String  literalValue,
String  literalType,
String  epsg,
String  srsName 
)
inherited
424  {
425  Geometry geom=parseVectorLiteral(literalValue, literalType, epsg, srsName);
426  if(geom!=null) {
427  return geom;
428  }
429  String cov=parseCoverageLiteral(literalValue, literalType, epsg, srsName);
430  if(cov!=null) {
431  return cov;
432  }
433  return null;
434  }
Geometry parseVectorLiteral(String literalValue, String literalType, String epsg, String srsName)
Definition: ResultFormatter.java:368
String parseCoverageLiteral(String literalValue, String literalType, String epsg, String srsName)
Definition: ResultFormatter.java:413

References ResultFormatter.parseCoverageLiteral(), and ResultFormatter.parseVectorLiteral().

Referenced by RasterWKBFormatter.formatter(), XYZASCIIFormatter.formatter(), HexTuplesFormatter.formatter(), and TTLFormatter.formatter().

◆ parseVectorLiteral()

Geometry parseVectorLiteral ( String  literalValue,
String  literalType,
String  epsg,
String  srsName 
)
inherited
368  {
369  Geometry geom=null;
370  if(literalType.toLowerCase().contains("wkt")) {
371  if(literalValue.trim().startsWith("<http")) {
372  try {
373  geom=this.wktreader.read(literalValue.substring(literalValue.lastIndexOf(">")+1));
374  epsg=literalValue.substring(literalValue.indexOf("<")+1,literalValue.lastIndexOf(">"));
375  Integer srid=Integer.valueOf(epsg.substring(epsg.lastIndexOf("/")+1));
376  geom.setSRID(srid);
377  epsg="EPSG:"+srid;
378  } catch (ParseException e) {
379  return null;
380  }
381  }else {
382  try {
383  geom=this.wktreader.read(literalValue);
384  } catch (ParseException e) {
385  return null;
386  }
387  }
388  }
389  else if(literalType.toLowerCase().contains("geojson")) {
390  geom=this.geojsonreader.read(literalValue);
391  }
392  else if(literalType.toLowerCase().contains("kml")) {
393  try {
394  geom=this.kmlreader.read(literalValue);
395  } catch (ParseException e) {
396  // TODO Auto-generated catch block
397  e.printStackTrace();
398  }
399  }
400  else if(literalType.toLowerCase().contains("wkb")) {
401  try {
402  geom=this.wkbreader.read(WKBReader.hexToBytes(literalValue));
403  } catch (ParseException e) {
404  return null;
405  }
406  }
407  if(geom!=null) {
408  geom=ReprojectionUtils.reproject(geom, epsg,srsName);
409  return geom;
410  }
411  return null;
412  }
WKBReader wkbreader
Definition: ResultFormatter.java:109
KMLReader kmlreader
Definition: ResultFormatter.java:111
GeoJSONReader geojsonreader
Definition: ResultFormatter.java:113
WKTReader wktreader
Definition: ResultFormatter.java:107

References ReprojectionUtils.reproject().

Referenced by GeoJSONFormatter.formatJSONObject(), GeoJSONFormatter.formatJSONStreaming(), RasterWKBFormatter.formatter(), XYZASCIIFormatter.formatter(), HexTuplesFormatter.formatter(), TTLFormatter.formatter(), CSVFormatter.formatter(), EWKTFormatter.formatter(), GeoURIFormatter.formatter(), HexWKBFormatter.formatter(), LatLonTextFormatter.formatter(), ODSFormatter.formatter(), OpenLocationCodeFormatter.formatter(), OSMLinkFormatter.formatter(), PostgreSQLFormatter.formatter(), TWKBFormatter.formatter(), WKBFormatter.formatter(), WKTFormatter.formatter(), XLSFormatter.formatter(), XLSXFormatter.formatter(), and ResultFormatter.parseLiteral().

◆ readFile()

static String readFile ( String  path,
Charset  encoding 
) throws IOException
staticpackage

Utility method to read a file.

Parameters
pathThe file path
encodingthe file encoding
Returns
A string which includes the contents of the file
Exceptions
IOExceptionon error
71  {
72  byte[] encoded = Files.readAllBytes(Paths.get(path));
73  return new String(encoded, encoding);
74  }

Referenced by HTMLFormatter.HTMLFormatter().

Member Data Documentation

◆ constructQuery

◆ contextMapper

◆ coverageLiteralMap

Set<String> coverageLiteralMap =new TreeSet<>()
staticinherited

◆ definition

String definition =""
inherited

Referenced by ASCIIGridFormatter.ASCIIGridFormatter(), BSONFormatter.BSONFormatter(), WebService.collectionInformation(), CovJSONFormatter.CovJSONFormatter(), CSVFormatter.CSVFormatter(), CypherFormatter.CypherFormatter(), EWKTFormatter.EWKTFormatter(), GDFFormatter.GDFFormatter(), GeoHashFormatter.GeoHashFormatter(), GeoJSONFormatter.GeoJSONFormatter(), GeoJSONLDFormatter.GeoJSONLDFormatter(), GeoJSONSeqFormatter.GeoJSONSeqFormatter(), GeoRSSFormatter.GeoRSSFormatter(), GeoTIFFFormatter.GeoTIFFFormatter(), GeoURIFormatter.GeoURIFormatter(), GEXFFormatter.GEXFFormatter(), GMLFormatter.GMLFormatter(), GPXFormatter.GPXFormatter(), GraphMLFormatter.GraphMLFormatter(), GXLFormatter.GXLFormatter(), HDTFormatter.HDTFormatter(), HexTuplesFormatter.HexTuplesFormatter(), HexWKBFormatter.HexWKBFormatter(), HTMLFormatter.HTMLFormatter(), JSONLDFormatter.JSONLDFormatter(), JSONPFormatter.JSONPFormatter(), JSONSeqFormatter.JSONSeqFormatter(), KMLFormatter.KMLFormatter(), LDAPIJSONFormatter.LDAPIJSONFormatter(), MapMLFormatter.MapMLFormatter(), MVTFormatter.MVTFormatter(), N3Formatter.N3Formatter(), NQuadsFormatter.NQuadsFormatter(), NTFormatter.NTFormatter(), ODSFormatter.ODSFormatter(), OpenLocationCodeFormatter.OpenLocationCodeFormatter(), OSMFormatter.OSMFormatter(), PostgreSQLFormatter.PostgreSQLFormatter(), RDFEXIFormatter.RDFEXIFormatter(), RDFFormatter.RDFFormatter(), RDFJSONFormatter.RDFJSONFormatter(), RDFThriftFormatter.RDFThriftFormatter(), SVGFormatter.SVGFormatter(), TGFFormatter.TGFFormatter(), TLPFormatter.TLPFormatter(), TopoJSONFormatter.TopoJSONFormatter(), TrigFormatter.TrigFormatter(), TrixFormatter.TrixFormatter(), TTLFormatter.TTLFormatter(), TWKBFormatter.TWKBFormatter(), WKBFormatter.WKBFormatter(), WKTFormatter.WKTFormatter(), X3DFormatter.X3DFormatter(), XLSFormatter.XLSFormatter(), XLSXFormatter.XLSXFormatter(), XYZASCIIFormatter.XYZASCIIFormatter(), and YAMLFormatter.YAMLFormatter().

◆ exposedType

String exposedType ="application/vnd.geojson"
inherited

Referenced by ASCIIGridFormatter.ASCIIGridFormatter(), BSONFormatter.BSONFormatter(), CovJSONFormatter.CovJSONFormatter(), CSVFormatter.CSVFormatter(), CypherFormatter.CypherFormatter(), EWKTFormatter.EWKTFormatter(), GDFFormatter.GDFFormatter(), GeoHashFormatter.GeoHashFormatter(), GeoJSONFormatter.GeoJSONFormatter(), GeoJSONLDFormatter.GeoJSONLDFormatter(), GeoJSONSeqFormatter.GeoJSONSeqFormatter(), GeoRSSFormatter.GeoRSSFormatter(), GeoTIFFFormatter.GeoTIFFFormatter(), GeoURIFormatter.GeoURIFormatter(), GEXFFormatter.GEXFFormatter(), GMLCOVFormatter.GMLCOVFormatter(), GMLFormatter.GMLFormatter(), GPXFormatter.GPXFormatter(), GraphMLFormatter.GraphMLFormatter(), GXFFormatter.GXFFormatter(), GXLFormatter.GXLFormatter(), HDTFormatter.HDTFormatter(), HexRasterWKBFormatter.HexRasterWKBFormatter(), HexTuplesFormatter.HexTuplesFormatter(), HexWKBFormatter.HexWKBFormatter(), HTMLFormatter.HTMLFormatter(), JSONFormatter.JSONFormatter(), JSONLDFormatter.JSONLDFormatter(), JSONPFormatter.JSONPFormatter(), JSONSeqFormatter.JSONSeqFormatter(), KMLFormatter.KMLFormatter(), LatLonTextFormatter.LatLonTextFormatter(), LDAPIJSONFormatter.LDAPIJSONFormatter(), MapMLFormatter.MapMLFormatter(), MVTFormatter.MVTFormatter(), N3Formatter.N3Formatter(), NQuadsFormatter.NQuadsFormatter(), NTFormatter.NTFormatter(), ODSFormatter.ODSFormatter(), OpenLocationCodeFormatter.OpenLocationCodeFormatter(), OSMFormatter.OSMFormatter(), OSMLinkFormatter.OSMLinkFormatter(), PolyshapeFormatter.PolyshapeFormatter(), PostgreSQLFormatter.PostgreSQLFormatter(), RasterWKBFormatter.RasterWKBFormatter(), RDFEXIFormatter.RDFEXIFormatter(), RDFFormatter.RDFFormatter(), RDFJSONFormatter.RDFJSONFormatter(), RDFThriftFormatter.RDFThriftFormatter(), SVGFormatter.SVGFormatter(), TGFFormatter.TGFFormatter(), TLPFormatter.TLPFormatter(), TopoJSONFormatter.TopoJSONFormatter(), TrigFormatter.TrigFormatter(), TrixFormatter.TrixFormatter(), TTLFormatter.TTLFormatter(), TWKBFormatter.TWKBFormatter(), WKBFormatter.WKBFormatter(), WKTFormatter.WKTFormatter(), X3DFormatter.X3DFormatter(), XLSFormatter.XLSFormatter(), XLSXFormatter.XLSXFormatter(), XYZASCIIFormatter.XYZASCIIFormatter(), and YAMLFormatter.YAMLFormatter().

◆ fileextension

String fileextension ="json"
inherited

Referenced by ASCIIGridFormatter.ASCIIGridFormatter(), BSONFormatter.BSONFormatter(), WebService.collectionItems(), CovJSONFormatter.CovJSONFormatter(), CSVFormatter.CSVFormatter(), CypherFormatter.CypherFormatter(), WebService.docCollectionItemJSON(), WebService.docCollectionJSON(), EWKTFormatter.EWKTFormatter(), GDFFormatter.GDFFormatter(), GeoHashFormatter.GeoHashFormatter(), GeoJSONFormatter.GeoJSONFormatter(), GeoJSONLDFormatter.GeoJSONLDFormatter(), GeoJSONSeqFormatter.GeoJSONSeqFormatter(), GeoRSSFormatter.GeoRSSFormatter(), GeoTIFFFormatter.GeoTIFFFormatter(), GeoURIFormatter.GeoURIFormatter(), GEXFFormatter.GEXFFormatter(), GMLCOVFormatter.GMLCOVFormatter(), GMLFormatter.GMLFormatter(), GPXFormatter.GPXFormatter(), GraphMLFormatter.GraphMLFormatter(), GXFFormatter.GXFFormatter(), GXLFormatter.GXLFormatter(), HDTFormatter.HDTFormatter(), HexRasterWKBFormatter.HexRasterWKBFormatter(), HexTuplesFormatter.HexTuplesFormatter(), HexWKBFormatter.HexWKBFormatter(), HTMLFormatter.HTMLFormatter(), JSONFormatter.JSONFormatter(), JSONLDFormatter.JSONLDFormatter(), JSONPFormatter.JSONPFormatter(), JSONSeqFormatter.JSONSeqFormatter(), KMLFormatter.KMLFormatter(), LatLonTextFormatter.LatLonTextFormatter(), LDAPIJSONFormatter.LDAPIJSONFormatter(), MapMLFormatter.MapMLFormatter(), MVTFormatter.MVTFormatter(), N3Formatter.N3Formatter(), NQuadsFormatter.NQuadsFormatter(), NTFormatter.NTFormatter(), ODSFormatter.ODSFormatter(), OpenLocationCodeFormatter.OpenLocationCodeFormatter(), OSMFormatter.OSMFormatter(), OSMLinkFormatter.OSMLinkFormatter(), PolyshapeFormatter.PolyshapeFormatter(), PostgreSQLFormatter.PostgreSQLFormatter(), RasterWKBFormatter.RasterWKBFormatter(), RDFEXIFormatter.RDFEXIFormatter(), RDFFormatter.RDFFormatter(), RDFJSONFormatter.RDFJSONFormatter(), RDFThriftFormatter.RDFThriftFormatter(), SVGFormatter.SVGFormatter(), TGFFormatter.TGFFormatter(), TLPFormatter.TLPFormatter(), TopoJSONFormatter.TopoJSONFormatter(), TrigFormatter.TrigFormatter(), TrixFormatter.TrixFormatter(), TTLFormatter.TTLFormatter(), TWKBFormatter.TWKBFormatter(), WKBFormatter.WKBFormatter(), WKTFormatter.WKTFormatter(), X3DFormatter.X3DFormatter(), XLSFormatter.XLSFormatter(), XLSXFormatter.XLSXFormatter(), XYZASCIIFormatter.XYZASCIIFormatter(), and YAMLFormatter.YAMLFormatter().

◆ FLUSHTHRESHOLD

◆ geojsonreader

GeoJSONReader geojsonreader =new GeoJSONReader()
inherited

◆ htmlcovHeader

String htmlcovHeader = ""

HTMLCovHeader for export 2.

Referenced by HTMLFormatter.formatter().

◆ htmlHeader

String htmlHeader = ""

HTMLHeader for export 1.

Referenced by HTMLFormatter.formatter().

◆ htmlHeader2

String htmlHeader2 = ""

HTMLHeader for export 2.

◆ kmlreader

KMLReader kmlreader =new KMLReader()
inherited

◆ label

String label ="JSON"
inherited

Referenced by ResultFormatter.addToMaps(), ASCIIGridFormatter.ASCIIGridFormatter(), BSONFormatter.BSONFormatter(), HTMLFormatter.collectColumns(), CovJSONFormatter.CovJSONFormatter(), CSVFormatter.CSVFormatter(), CypherFormatter.CypherFormatter(), EWKTFormatter.EWKTFormatter(), GDFFormatter.GDFFormatter(), GeoHashFormatter.GeoHashFormatter(), GeoJSONFormatter.GeoJSONFormatter(), GeoJSONLDFormatter.GeoJSONLDFormatter(), GeoJSONSeqFormatter.GeoJSONSeqFormatter(), GeoRSSFormatter.GeoRSSFormatter(), GeoTIFFFormatter.GeoTIFFFormatter(), GeoURIFormatter.GeoURIFormatter(), GEXFFormatter.GEXFFormatter(), GMLCOVFormatter.GMLCOVFormatter(), GMLFormatter.GMLFormatter(), GPXFormatter.GPXFormatter(), GraphMLFormatter.GraphMLFormatter(), GXFFormatter.GXFFormatter(), GXLFormatter.GXLFormatter(), HDTFormatter.HDTFormatter(), HexRasterWKBFormatter.HexRasterWKBFormatter(), HexTuplesFormatter.HexTuplesFormatter(), HexWKBFormatter.HexWKBFormatter(), HTMLFormatter.HTMLFormatter(), JSONFormatter.JSONFormatter(), JSONLDFormatter.JSONLDFormatter(), JSONPFormatter.JSONPFormatter(), JSONSeqFormatter.JSONSeqFormatter(), KMLFormatter.KMLFormatter(), LatLonTextFormatter.LatLonTextFormatter(), LDAPIJSONFormatter.LDAPIJSONFormatter(), MapMLFormatter.MapMLFormatter(), MVTFormatter.MVTFormatter(), N3Formatter.N3Formatter(), NQuadsFormatter.NQuadsFormatter(), NTFormatter.NTFormatter(), ODSFormatter.ODSFormatter(), OpenLocationCodeFormatter.OpenLocationCodeFormatter(), OSMFormatter.OSMFormatter(), OSMLinkFormatter.OSMLinkFormatter(), PolyshapeFormatter.PolyshapeFormatter(), PostgreSQLFormatter.PostgreSQLFormatter(), RasterWKBFormatter.RasterWKBFormatter(), RDFEXIFormatter.RDFEXIFormatter(), RDFFormatter.RDFFormatter(), RDFJSONFormatter.RDFJSONFormatter(), RDFThriftFormatter.RDFThriftFormatter(), SVGFormatter.SVGFormatter(), TGFFormatter.TGFFormatter(), TLPFormatter.TLPFormatter(), TopoJSONFormatter.TopoJSONFormatter(), TrigFormatter.TrigFormatter(), TrixFormatter.TrixFormatter(), TTLFormatter.TTLFormatter(), TWKBFormatter.TWKBFormatter(), WKBFormatter.WKBFormatter(), WKTFormatter.WKTFormatter(), X3DFormatter.X3DFormatter(), XLSFormatter.XLSFormatter(), XLSXFormatter.XLSXFormatter(), XYZASCIIFormatter.XYZASCIIFormatter(), and YAMLFormatter.YAMLFormatter().

◆ labelMap

Map<String,String> labelMap =new TreeMap<>()
staticinherited

◆ lastQueriedElemCount

Integer lastQueriedElemCount =0
inherited

Referenced by TripleStoreConnector.executePropertyValueQuery(), TripleStoreConnector.executeQuery(), GeoJSONFormatter.formatJSONObject(), GeoJSONFormatter.formatJSONStreaming(), GeoHashFormatter.formatter(), CovJSONFormatter.formatter(), RasterWKBFormatter.formatter(), XYZASCIIFormatter.formatter(), HTMLFormatter.formatter(), CypherFormatter.formatter(), GDFFormatter.formatter(), GEXFFormatter.formatter(), GraphMLFormatter.formatter(), GXLFormatter.formatter(), HDTFormatter.formatter(), HexTuplesFormatter.formatter(), LDAPIJSONFormatter.formatter(), N3Formatter.formatter(), NQuadsFormatter.formatter(), NTFormatter.formatter(), RDFEXIFormatter.formatter(), RDFFormatter.formatter(), RDFJSONFormatter.formatter(), RDFThriftFormatter.formatter(), TGFFormatter.formatter(), TrigFormatter.formatter(), TrixFormatter.formatter(), TTLFormatter.formatter(), BSONFormatter.formatter(), CSVFormatter.formatter(), EWKTFormatter.formatter(), GeoJSONLDFormatter.formatter(), GeoJSONSeqFormatter.formatter(), GeoURIFormatter.formatter(), GMLFormatter.formatter(), GPXFormatter.formatter(), HexWKBFormatter.formatter(), JSONFormatter.formatter(), JSONLDFormatter.formatter(), JSONPFormatter.formatter(), JSONSeqFormatter.formatter(), KMLFormatter.formatter(), LatLonTextFormatter.formatter(), MapMLFormatter.formatter(), MVTFormatter.formatter(), ODSFormatter.formatter(), OpenLocationCodeFormatter.formatter(), OSMFormatter.formatter(), OSMLinkFormatter.formatter(), PostgreSQLFormatter.formatter(), TWKBFormatter.formatter(), WKBFormatter.formatter(), WKTFormatter.formatter(), XLSFormatter.formatter(), XLSXFormatter.formatter(), YAMLFormatter.formatter(), and SVGFormatter.formatter().

◆ mediatypes

final String [] mediatypes
staticinherited
Initial value:
= {
MediaType.TEXT_PLAIN,
"application/vnd.geo+json+ld",
"text/csv",
}

◆ mimeType

String mimeType ="text/plain"
inherited

Referenced by ResultFormatter.addToMaps(), ASCIIGridFormatter.ASCIIGridFormatter(), BSONFormatter.BSONFormatter(), WebService.collectionItems(), WebService.collections(), CovJSONFormatter.CovJSONFormatter(), CSVFormatter.CSVFormatter(), CypherFormatter.CypherFormatter(), WebService.docCollectionItemJSON(), WebService.docCollectionJSON(), EWKTFormatter.EWKTFormatter(), GDFFormatter.GDFFormatter(), GeoHashFormatter.GeoHashFormatter(), GeoJSONFormatter.GeoJSONFormatter(), GeoJSONLDFormatter.GeoJSONLDFormatter(), GeoJSONSeqFormatter.GeoJSONSeqFormatter(), GeoRSSFormatter.GeoRSSFormatter(), GeoTIFFFormatter.GeoTIFFFormatter(), GeoURIFormatter.GeoURIFormatter(), GEXFFormatter.GEXFFormatter(), GMLCOVFormatter.GMLCOVFormatter(), GMLFormatter.GMLFormatter(), GPXFormatter.GPXFormatter(), GraphMLFormatter.GraphMLFormatter(), GXFFormatter.GXFFormatter(), GXLFormatter.GXLFormatter(), HDTFormatter.HDTFormatter(), HexRasterWKBFormatter.HexRasterWKBFormatter(), HexTuplesFormatter.HexTuplesFormatter(), HexWKBFormatter.HexWKBFormatter(), HTMLFormatter.HTMLFormatter(), JSONFormatter.JSONFormatter(), JSONLDFormatter.JSONLDFormatter(), JSONPFormatter.JSONPFormatter(), JSONSeqFormatter.JSONSeqFormatter(), KMLFormatter.KMLFormatter(), LatLonTextFormatter.LatLonTextFormatter(), LDAPIJSONFormatter.LDAPIJSONFormatter(), MapMLFormatter.MapMLFormatter(), MVTFormatter.MVTFormatter(), N3Formatter.N3Formatter(), NQuadsFormatter.NQuadsFormatter(), NTFormatter.NTFormatter(), ODSFormatter.ODSFormatter(), OpenLocationCodeFormatter.OpenLocationCodeFormatter(), OSMFormatter.OSMFormatter(), OSMLinkFormatter.OSMLinkFormatter(), PolyshapeFormatter.PolyshapeFormatter(), PostgreSQLFormatter.PostgreSQLFormatter(), RasterWKBFormatter.RasterWKBFormatter(), RDFEXIFormatter.RDFEXIFormatter(), RDFFormatter.RDFFormatter(), RDFJSONFormatter.RDFJSONFormatter(), RDFThriftFormatter.RDFThriftFormatter(), SVGFormatter.SVGFormatter(), TGFFormatter.TGFFormatter(), TLPFormatter.TLPFormatter(), TopoJSONFormatter.TopoJSONFormatter(), TrigFormatter.TrigFormatter(), TrixFormatter.TrixFormatter(), TTLFormatter.TTLFormatter(), TWKBFormatter.TWKBFormatter(), WKBFormatter.WKBFormatter(), WKTFormatter.WKTFormatter(), X3DFormatter.X3DFormatter(), XLSFormatter.XLSFormatter(), XLSXFormatter.XLSXFormatter(), XYZASCIIFormatter.XYZASCIIFormatter(), and YAMLFormatter.YAMLFormatter().

◆ resultMap

◆ styleformatter

◆ urlformat

String urlformat ="json"
inherited

Referenced by ASCIIGridFormatter.ASCIIGridFormatter(), BSONFormatter.BSONFormatter(), WebService.collectionInformation(), CovJSONFormatter.CovJSONFormatter(), CSVFormatter.CSVFormatter(), CypherFormatter.CypherFormatter(), EWKTFormatter.EWKTFormatter(), GDFFormatter.GDFFormatter(), GeoHashFormatter.GeoHashFormatter(), GeoJSONFormatter.GeoJSONFormatter(), GeoJSONLDFormatter.GeoJSONLDFormatter(), GeoJSONSeqFormatter.GeoJSONSeqFormatter(), GeoRSSFormatter.GeoRSSFormatter(), GeoTIFFFormatter.GeoTIFFFormatter(), GeoURIFormatter.GeoURIFormatter(), GEXFFormatter.GEXFFormatter(), GMLCOVFormatter.GMLCOVFormatter(), GMLFormatter.GMLFormatter(), GPXFormatter.GPXFormatter(), GraphMLFormatter.GraphMLFormatter(), GXFFormatter.GXFFormatter(), GXLFormatter.GXLFormatter(), HDTFormatter.HDTFormatter(), HexRasterWKBFormatter.HexRasterWKBFormatter(), HexTuplesFormatter.HexTuplesFormatter(), HexWKBFormatter.HexWKBFormatter(), HTMLFormatter.HTMLFormatter(), JSONFormatter.JSONFormatter(), JSONLDFormatter.JSONLDFormatter(), JSONPFormatter.JSONPFormatter(), JSONSeqFormatter.JSONSeqFormatter(), KMLFormatter.KMLFormatter(), LatLonTextFormatter.LatLonTextFormatter(), LDAPIJSONFormatter.LDAPIJSONFormatter(), MapMLFormatter.MapMLFormatter(), MVTFormatter.MVTFormatter(), N3Formatter.N3Formatter(), NQuadsFormatter.NQuadsFormatter(), NTFormatter.NTFormatter(), ODSFormatter.ODSFormatter(), OpenLocationCodeFormatter.OpenLocationCodeFormatter(), OSMFormatter.OSMFormatter(), OSMLinkFormatter.OSMLinkFormatter(), PolyshapeFormatter.PolyshapeFormatter(), PostgreSQLFormatter.PostgreSQLFormatter(), RasterWKBFormatter.RasterWKBFormatter(), RDFEXIFormatter.RDFEXIFormatter(), RDFFormatter.RDFFormatter(), RDFJSONFormatter.RDFJSONFormatter(), RDFThriftFormatter.RDFThriftFormatter(), SVGFormatter.SVGFormatter(), TGFFormatter.TGFFormatter(), TLPFormatter.TLPFormatter(), TopoJSONFormatter.TopoJSONFormatter(), TrigFormatter.TrigFormatter(), TrixFormatter.TrixFormatter(), TTLFormatter.TTLFormatter(), TWKBFormatter.TWKBFormatter(), WKBFormatter.WKBFormatter(), WKTFormatter.WKTFormatter(), X3DFormatter.X3DFormatter(), XLSFormatter.XLSFormatter(), XLSXFormatter.XLSXFormatter(), XYZASCIIFormatter.XYZASCIIFormatter(), and YAMLFormatter.YAMLFormatter().

◆ vectorLiteralMap

Set<String> vectorLiteralMap =new TreeSet<>()
staticinherited

◆ wkbreader

WKBReader wkbreader =new WKBReader()
inherited

◆ wktreader

WKTReader wktreader =new WKTReader()
inherited