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.SiteMapExceptionIOExceptionSiteMapGeneratorFile getSiteMapFile(String fileName) throws SiteMapException, IOException
IOExceptionSiteMapExceptionCopyright © 2020. All rights reserved.