Interface SitemapGeneratorService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void generateSiteMap​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> siteMapRequest)
      This method generate a site map entity.
      java.util.HashSet<java.lang.String> getPageLinks​(java.lang.String baseURL, java.lang.String URL, java.util.HashSet<java.lang.String> links, java.util.List<java.lang.String> urlsToIgnore)
      This method returns a page links set.
    • Method Detail

      • generateSiteMap

        void generateSiteMap​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> siteMapRequest)
        This method generate a site map entity.
        Parameters:
        siteMapRequest - map-representation of request contains an instructions for create site map
      • getPageLinks

        java.util.HashSet<java.lang.String> getPageLinks​(java.lang.String baseURL,
                                                         java.lang.String URL,
                                                         java.util.HashSet<java.lang.String> links,
                                                         java.util.List<java.lang.String> urlsToIgnore)
        This method returns a page links set.
        Parameters:
        baseURL - url to start from
        URL - url link for add set links
        links - set-representation of links, which will be updated
        urlsToIgnore - list of urls for filter and ignored
        Returns:
        set of links from parsed page