public interface SiteMapService
Modifier and Type | Method and Description |
---|---|
SiteMapGenerationResponse |
generateSiteMap()
Generates a well formed SiteMap.
|
File |
getSiteMapFile(String fileName)
Returns the File object that can be used to retrieve the SiteMap.xml file
|
SiteMapGenerationResponse generateSiteMap() throws IOException, SiteMapException
getSiteMapFile(String)
is called, if no file is found then
it will invoke this method. Typically, an implementation will setup scheduled jobs to create the
siteMap.xml.
Implementation should implement a well formed SiteMap (for example, the default Broadleaf SiteMapImpl
returns a SiteMap compatible with this schema.
http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd
Implementations should utilize the list of SiteMapGenerators that build the actual entries in the sitemap.xml
files.SiteMapException
IOException
SiteMapGenerator
File getSiteMapFile(String fileName) throws SiteMapException, IOException
IOException
SiteMapException
Copyright © 2022. All rights reserved.