Package com.ikanow.infinit.e.api.knowledge.output

Examples of com.ikanow.infinit.e.api.knowledge.output.RssOutput


            data = kml.getDocs(rp);
          }
          else if (_requestDetails.output.format.equalsIgnoreCase("rss")) { // RSS
           
            mediaType = MediaType.APPLICATION_XML;
            RssOutput rss = new RssOutput();
           
            // print out the rss since we know that the response is not null
            data = rss.getDocs(rp);             
          }
          else { // Not pleasant after all this just to return an error :(
            rp = new ResponsePojo();
            rp.setResponse(new ResponseObject("Output Format", false, "Unsupported output.format"));           
            data = rp.toApi();
View Full Code Here

TOP

Related Classes of com.ikanow.infinit.e.api.knowledge.output.RssOutput

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.