Package com.esri.gpt.catalog.search

Examples of com.esri.gpt.catalog.search.SearchEngineCSW


      GetRecordsGenerator grg = new GetRecordsGenerator(rc);
      if (engine.getHitsOnly()) {
        grg.setResultType("HITS");
      }
      String cswRequest = grg.generateCswRequest(query);
      SearchEngineCSW csw = (SearchEngineCSW) engine;
      if (this.isTimeUp()) {
        throw new Exception("This threads time is up");
      }
      csw.doSearch(cswRequest);
    } else {
      if (this.isTimeUp()) {
        throw new Exception("This threads time is up");
      }
      engine.doSearch();
View Full Code Here


        throw new SearchException(e);
      }

      // execute the query
      engine = SearchEngineFactory.createSearchEngine(criteria, result, context, messageBroker);
      SearchEngineCSW csw = (SearchEngineCSW) engine;
      csw.setResourceLinkBuilder(rBuild);
      csw.doSearch(cswRequest);

      // handle a request against a remote repository
    } else {

      // create the criteria, execute the query
View Full Code Here

TOP

Related Classes of com.esri.gpt.catalog.search.SearchEngineCSW

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.