Class BasicSiteMapEntry

    • Method Detail

      • getUrl

        public String getUrl()
        Description copied from interface: ISiteMapEntry
        required value. may not be null.
        Specified by:
        getUrl in interface ISiteMapEntry
        Returns:
        URL of the page. This URL must begin with the protocol (such as http) and end with a trailing slash, if your web server requires it. This value must be less than 2,048 characters
      • getModified

        public Date getModified()
        Specified by:
        getModified in interface ISiteMapEntry
        Returns:
        The date of last modification of the file.
      • getPriority

        public Double getPriority()
        Specified by:
        getPriority in interface ISiteMapEntry
        Returns:
        The priority of this URL relative to other URLs on your site. Valid values range from 0.0 to 1.0. The default priority of a page is 0.5.

        Also, please note that assigning a high priority to all of the URLs on your site is not likely to help you. Since the priority is relative, it is only used to select between URLs on your site.