Package com.esri.gpt.control.georss

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


      IdentityAdapter idAdapter =  context.newIdentityAdapter();
      ErosEmailFinder emailFinder = new ErosEmailFinder(context, idAdapter);
     
      String sTarget = query.getResponseTarget();
      RecordSnippetWriter.Target target = RecordSnippetWriter.Target.checkValueOf(sTarget);
      AtomFeedWriter atomWriter = new ErosAtomFeedWriter(emailFinder, resourceIdentifier, printWriter);
      atomWriter.setEntryBaseUrl(query.getRssProviderUrl());
      atomWriter.set_messageBroker(messageBroker);
      atomWriter.setTarget(target);
      return atomWriter;
    }
    return super.makeFeedWriter(request, context, printWriter, messageBroker, query);
  }
View Full Code Here


      "catalog.search.distributedSearch.searchTimeout");
   
  }
  message = Val.chkStr(message);
  if(!"".equals(message)) {
    AtomEntry ae = new AtomFeedWriter(this.getPrintWriter()).new AtomEntry();
    ae.setId(event.getSearchStatus().getRid());
    ae.setTitle(ae.getId() + " " + message);
   
   
    ResourceLink link = new ResourceLink();
View Full Code Here

*
* @return the atom feed
*/
private AtomFeed getAtomFeed() {
  if(_atomFeed == null) {
    AtomFeed af = new AtomFeedWriter(this.getPrintWriter()).new AtomFeed();
    af.setTitle(getMessageBroker().retrieveMessage("catalog.rest.title"));
    af.setDescription(getMessageBroker().retrieveMessage(
        "catalog.rest.description"));
    af.setAuthor(getMessageBroker().retrieveMessage(
        "catalog.rest.generator"));
View Full Code Here

TOP

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

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.