Package com.esri.gpt.server.csw.provider.local

Examples of com.esri.gpt.server.csw.provider.local.CoreQueryables


        if (callback != null) {
          printWriter.print(callback + "(");
        }

        // init query
        query.setReturnables(new CoreQueryables(context).getFull());
        toSearchCriteria(request, context, query);
       
       
        feedWriter.write(JsonSearchEngine.createInstance().search(request, response, context, query));

        if (callback != null) {
          printWriter.print(")");
        }

      }else if (format == RestQueryServlet.ResponseFormat.dcat) {
       
        String callback = request.getParameter("callback");
        if (callback != null) {
          printWriter.print(callback + "(");
        }
       
        // The following part of the code has been disabled since DCAT content
        // is being cached.
        query.setReturnables(new CoreQueryables(context).getFull());
        toSearchCriteria(request, context, query);
        feedWriter.write(DcatJsonSearchEngine.createInstance().search(request, response, context, query));

        if (callback != null) {
          printWriter.print(")");
View Full Code Here


      writer = new PrintWriter(new OutputStreamWriter(cacheStream, "UTF-8"));
     
      DcatJsonFeedWriter feedWriter = new DcatJsonFeedWriter(context, writer, query);
      feedWriter.setMessageBroker(msgBroker);
     
      query.setReturnables(new CoreQueryables(context).getFull());
     
      DcatJsonSearchEngine.DcatRecordsAdapter discoveredRecordsAdapter = new DcatJsonSearchEngine.DcatRecordsAdapter(msgBroker, linkBuilder, context, query);
     
      feedWriter.write(discoveredRecordsAdapter);
    } finally {
View Full Code Here

TOP

Related Classes of com.esri.gpt.server.csw.provider.local.CoreQueryables

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.