Package org.wikipediacleaner.api.request.xml

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


   * @throws APIException
   * @see <a href="http://www.mediawiki.org/wiki/API:Parsing_wikitext#parse">API:Parsing wikitext</a>
   */
  public String parseText(
      EnumWikipedia wiki, String title, String text) throws APIException {
    ApiParseResult result = new ApiXmlParseResult(wiki, httpClient);
    ApiParseRequest request = new ApiParseRequest(wiki, result);
    return request.parseText(title, text);
  }
View Full Code Here


   * @throws APIException
   * @see <a href="http://www.mediawiki.org/wiki/API:Parsing_wikitext#parse">API:Parsing wikitext</a>
   */
  public List<Section> retrieveSections(
      EnumWikipedia wiki, Page page) throws APIException {
    ApiParseResult result = new ApiXmlParseResult(wiki, httpClient);
    ApiParseRequest request = new ApiParseRequest(wiki, result);
    return request.retrieveSections(page);
  }
View Full Code Here

TOP

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

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.