Class BasicSiteMapEntry
- java.lang.Object
-
- org.apache.wicket.extensions.sitemap.BasicSiteMapEntry
-
- All Implemented Interfaces:
ISiteMapEntry
public class BasicSiteMapEntry extends Object implements ISiteMapEntry
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.wicket.extensions.sitemap.ISiteMapEntry
ISiteMapEntry.CHANGEFREQ
-
-
Constructor Summary
Constructors Constructor Description BasicSiteMapEntry(String url)BasicSiteMapEntry(String url, Date modified, double priority, ISiteMapEntry.CHANGEFREQ frequency)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISiteMapEntry.CHANGEFREQgetFrequency()DategetModified()DoublegetPriority()StringgetUrl()required value. may not be null.
-
-
-
Constructor Detail
-
BasicSiteMapEntry
public BasicSiteMapEntry(String url)
-
BasicSiteMapEntry
public BasicSiteMapEntry(String url, Date modified, double priority, ISiteMapEntry.CHANGEFREQ frequency)
-
-
Method Detail
-
getUrl
public String getUrl()
Description copied from interface:ISiteMapEntryrequired value. may not be null.- Specified by:
getUrlin interfaceISiteMapEntry- 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:
getModifiedin interfaceISiteMapEntry- Returns:
- The date of last modification of the file.
-
getPriority
public Double getPriority()
- Specified by:
getPriorityin interfaceISiteMapEntry- 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
public ISiteMapEntry.CHANGEFREQ getFrequency()
- Specified by:
getFrequencyin interfaceISiteMapEntry- Returns:
- How frequently the page is likely to change.
-
-