Package com.jada.xml.sitemap

Examples of com.jada.xml.sitemap.Url


            }
          }
        }
      }
     
      Url urls[] = new Url[urlSet.size()];
      urlSet.copyInto(urls);
      UrlSet urlSet = new UrlSet();
      urlSet.setUrl(urls);
     
    Mapping mapping = new Mapping();
View Full Code Here


    for (SiteProfile siteProfile : siteDomain.getSiteProfiles()) {
      String urlLoc = getPrefix() + "/web/fe/" +
              siteDomain.getSiteDomainPrefix() + "/" +
              siteProfile.getSiteProfileClass().getSiteProfileClassName() + "/" +
              "contactus";
      Url url = generateUrl(urlLoc, null);
      urlSet.add(url);
    }
  }
View Full Code Here

    }
  }
 
  private void generateStaticURL(String staticURL, SiteDomain siteDomain) throws Exception {
    String urlLoc = staticURL;
    Url url = generateUrl(urlLoc, null);
    urlSet.add(url);
  }
View Full Code Here

  private void generateSignin(SiteDomain siteDomain) throws Exception {
    for (SiteProfile siteProfile : siteDomain.getSiteProfiles()) {
      String urlLoc = getSecurePrefix(siteDomain) + "/myaccount/login/myAccountLogin.do?process=start" +
              "&prefix=" + siteDomain.getSiteDomainPrefix() +
              "&langName=" + siteProfile.getSiteProfileClass().getSiteProfileClassName();
      Url url = generateUrl(urlLoc, null);
      urlSet.add(url);
    }
  }
View Full Code Here

      for (SiteProfile siteProfile : siteDomain.getSiteProfiles()) {
        String urlLoc = getPrefix() + "/web/fe/" +
                siteDomain.getSiteDomainPrefix() + "/" +
                siteProfile.getSiteProfileClass().getSiteProfileClassName() + "/" +
                "home";
        Url url = generateUrl(urlLoc, null);
        urlSet.add(url);
      }
      keys.put(key, "");
    }
View Full Code Here

    for (SiteProfile siteProfile : siteDomain.getSiteProfiles()) {
      String urlLoc = getPrefix() + "/web/fe/" +
              siteDomain.getSiteDomainPrefix() + "/" +
              siteProfile.getSiteProfileClass().getSiteProfileClassName() + "/" +
              "content/" + content.getContentNaturalKey();
      Url url = generateUrl(urlLoc, content.getRecUpdateDatetime());
      urlSet.add(url);
     
      urlLoc = getPrefix() + "/web/fe/" +
      siteDomain.getSiteDomainPrefix() + "/" +
      siteProfile.getSiteProfileClass().getSiteProfileClassName() + "/" +
View Full Code Here

    for (SiteProfile siteProfile : siteDomain.getSiteProfiles()) {
      String urlLoc = getPrefix() + "/web/fe/" +
              siteDomain.getSiteDomainPrefix() + "/" +
              siteProfile.getSiteProfileClass().getSiteProfileClassName() + "/" +
              "item/" + item.getItemId();
      Url url = generateUrl(urlLoc, item.getRecUpdateDatetime());
      urlSet.add(url);
     
      urlLoc = getPrefix() + "/web/fe/" +
      siteDomain.getSiteDomainPrefix() + "/" +
      siteProfile.getSiteProfileClass().getSiteProfileClassName() + "/" +
View Full Code Here

      String urlLoc = getPrefix() + "/web/fe/" +
              siteDomain.getSiteDomainPrefix() + "/" +
              siteProfile.getSiteProfileClass().getSiteProfileClassName() + "/" +
              "category/" + topCatNaturalKey + "/" +
              category.getCatNaturalKey();
      Url url = generateUrl(urlLoc, null);
      urlSet.add(url);
      keys.put(key, "");
    }
   
   
View Full Code Here

    value += "/jada";
    return value;
  }
 
  private Url generateUrl(String value, Date date) {
    Url url = new Url();
    url.setLoc(value);
   
    if (date != null) {
      String text = dateFormatter.format(date);
      String lastMod = text.substring(0, 22) + ":" + text.substring(22);
      url.setLastmod(lastMod);
    }
   
    return url;
  }
View Full Code Here

TOP

Related Classes of com.jada.xml.sitemap.Url

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.