protected void constructSiteMapURL(
      CategorySiteMapGeneratorConfiguration categorySMGC,
      SiteMapBuilder siteMapBuilder,
      Category category) {
    SiteMapURLWrapper siteMapUrl = new SiteMapURLWrapper();

    // location
    siteMapUrl.setLoc(generateUri(siteMapBuilder, category));

    // change frequency
    siteMapUrl.setChangeFreqType(categorySMGC.getSiteMapChangeFreq());

    // priority
    siteMapUrl.setPriorityType(categorySMGC.getSiteMapPriority());

    // lastModDate
    siteMapUrl.setLastModDate(generateDate(category));

    siteMapBuilder.addUrl(siteMapUrl);
  }
 protected String generateUri(SiteMapBuilder siteMapBuilder, Category category) {
   return BroadleafFileUtils.appendUnixPaths(siteMapBuilder.getBaseUrl(), category.getUrl());
 }