Package org.opencms.site.xmlsitemap
Class CmsXmlSitemapGenerator.ResultEntry
java.lang.Object
org.opencms.site.xmlsitemap.CmsXmlSitemapGenerator.ResultEntry
- Enclosing class:
- CmsXmlSitemapGenerator
A bean that consists of a sitemap URL bean and a priority score, to determine which of multiple entries with the same
URL are to be preferred.
-
Constructor Summary
ConstructorDescriptionResultEntry
(CmsXmlSitemapUrlBean urlBean, int priority) Creates a new result entry. -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the internal priority used to determine which of multiple entries with the same URL to use.Gets the URL bean.
-
Constructor Details
-
ResultEntry
Creates a new result entry.- Parameters:
urlBean
- the url beanpriority
- the internal priority
-
-
Method Details
-
getPriority
Gets the internal priority used to determine which of multiple entries with the same URL to use.This has nothing to do with the priority defined in the URL beans themselves!
- Returns:
- the internal priority
-
getUrlBean
Gets the URL bean.- Returns:
- the URL bean
-