Package com.esri.gpt.control.georss

Examples of com.esri.gpt.control.georss.JsonFeedWriter


* @param record record to write
*/
private void printPjson(MessageBroker msgBroker, PrintWriter writer, final SearchResultRecord record, Format format) {
  SearchResultRecords records = new SearchResultRecords();
  records.add(record);
  JsonFeedWriter jsonWriter = new JsonFeedWriter(writer, null, format == Format.pjson );
  jsonWriter.setMessageBroker(msgBroker)
  jsonWriter.write(new SearchResultRecordsAdapter(records));
}
View Full Code Here

TOP

Related Classes of com.esri.gpt.control.georss.JsonFeedWriter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.