Package org.wikipediacleaner.api.request.xml

Examples of org.wikipediacleaner.api.request.xml.ApiXmlTemplatesResult


   * @param wiki Wiki.
   * @param page The page.
   */
  public void retrieveTemplates(EnumWikipedia wiki, Page page)
      throws APIException {
    ApiTemplatesResult result = new ApiXmlTemplatesResult(wiki, httpClient);
    ApiTemplatesRequest request = new ApiTemplatesRequest(wiki, result);
    request.loadTemplates(page);
  }
View Full Code Here


        request.setDisambiguationStatus(pages);
        return;
      }

      // Use templates otherwise
      ApiTemplatesResult result = new ApiXmlTemplatesResult(wiki, httpClient);
      ApiTemplatesRequest request = new ApiTemplatesRequest(wiki, result);
      request.setDisambiguationStatus(pages);
    }
  }
View Full Code Here

TOP

Related Classes of org.wikipediacleaner.api.request.xml.ApiXmlTemplatesResult

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.