com.esri.gpt.control.georss
Class Dcat11JsonFeedWriter
java.lang.Object
com.esri.gpt.control.georss.ExtJsonFeedWriter
com.esri.gpt.control.georss.DcatJsonFeedWriter
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.
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 |
Dcat11JsonFeedWriter
public Dcat11JsonFeedWriter(HttpServletRequest request,
RequestContext context,
PrintWriter writer,
RestQuery query,
Boolean pretty)
- Creates instance of the writer.
- Parameters:
request
- HTTP servlet requestcontext
- request contextwriter
- underlying writerquery
- REST querypretty
- true
to make output formatted
Dcat11JsonFeedWriter
public Dcat11JsonFeedWriter(RequestContext context,
PrintWriter writer,
RestQuery query)
- Creates instance of the writer.
- Parameters:
context
- request contextwriter
- underlying writerquery
- REST query
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
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.