Package com.esri.gpt.control.georss

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


* @param record record to write
*/
private void printKml(MessageBroker msgBroker, PrintWriter writer, final SearchResultRecord record) {
  SearchResultRecords records = new SearchResultRecords();
  records.add(record);
  KmlFeedWriter kmlWriter = new KmlFeedWriter(msgBroker, writer);
  kmlWriter.setKmlSignatureProvider(new KmlSignatureProvider() {
    public String getTitle() {
      return record.getTitle();
    }
    public String getDescription() {
      return record.getAbstract();
    }
  });
  kmlWriter.write(new SearchResultRecordsAdapter(records));
}
View Full Code Here

TOP

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

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.