Esri Geoportal Server
1.2.9

com.esri.gpt.control.georss
Class Dcat11JsonFeedWriter

java.lang.Object
  extended by com.esri.gpt.control.georss.ExtJsonFeedWriter
      extended by com.esri.gpt.control.georss.DcatJsonFeedWriter
          extended by com.esri.gpt.control.georss.Dcat11JsonFeedWriter
All Implemented Interfaces:
FeedWriter

public class Dcat11JsonFeedWriter
extends DcatJsonFeedWriter

Writes Dcat 1.1 json response of search results using dcat mappings.


Field Summary
 
Fields inherited from class com.esri.gpt.control.georss.DcatJsonFeedWriter
dcatSchemas
 
Fields inherited from class com.esri.gpt.control.georss.ExtJsonFeedWriter
context, DF, LOG, messageBroker, parameterMap, predicateBanned, query, writer
 
Constructor Summary
Dcat11JsonFeedWriter(HttpServletRequest request, RequestContext context, PrintWriter writer, RestQuery query, Boolean pretty)
          Creates instance of the writer.
Dcat11JsonFeedWriter(RequestContext context, PrintWriter writer, RestQuery query)
          Creates instance of the writer.
 
Method Summary
 void write(IFeedRecords records)
          Writers records.
 
Methods inherited from class com.esri.gpt.control.georss.DcatJsonFeedWriter
buildOutFieldsSet, checkAttr, makeDefaultValues, printArg2, printAttributesUserDcatMappings, printLink, printLinkArg, printLinks, printRecord, printRecords
 
Methods inherited from class com.esri.gpt.control.georss.ExtJsonFeedWriter
coord, createInstance, createInstance, getConfigParam, getMessageBroker, getOutputSpatialReference, getRequestParam, guessServiceUrn, hasRequestParam, levelDown, levelUp, print, printAPI, printArg, printArg, printAttr, printAttr, printAttributes, printField, printGeometry, printLink, printLink, printLinks, println, printPolygon, printPolygonShape, printResources, printTab, setMessageBroker, sp, writeCountOnly, writeIdsOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dcat11JsonFeedWriter

public Dcat11JsonFeedWriter(HttpServletRequest request,
                            RequestContext context,
                            PrintWriter writer,
                            RestQuery query,
                            Boolean pretty)
Creates instance of the writer.

Parameters:
request - HTTP servlet request
context - request context
writer - underlying writer
query - REST query
pretty - true to make output formatted

Dcat11JsonFeedWriter

public Dcat11JsonFeedWriter(RequestContext context,
                            PrintWriter writer,
                            RestQuery query)
Creates instance of the writer.

Parameters:
context - request context
writer - underlying writer
query - REST query
Method Detail

write

public void write(IFeedRecords records)
Description copied from interface: FeedWriter
Writers records.

Specified by:
write in interface FeedWriter
Overrides:
write in class DcatJsonFeedWriter
Parameters:
records - records to write

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.