org.apache.wicket.extensions.sitemap
Interface ISiteMapEntry
- All Known Implementing Classes:
- BasicSiteMapEntry
public interface ISiteMapEntry
getUrl
java.lang.String getUrl()
- required value. may not be null.
- 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
java.util.Date getModified()
- Returns:
- The date of last modification of the file.
getPriority
java.lang.Double getPriority()
- 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.
getFrequency
ISiteMapEntry.CHANGEFREQ getFrequency()
- Returns:
- How frequently the page is likely to change.
Copyright © 2011. All Rights Reserved.