@Component(value="blCustomSiteMapGenerator") public class CustomUrlSiteMapGenerator extends Object implements SiteMapGenerator
| Constructor and Description |
|---|
CustomUrlSiteMapGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSiteMapEntries(SiteMapGeneratorConfiguration smgc,
SiteMapBuilder siteMapBuilder)
Typically, the generator will loop through and build a list of URLs to add to the sitemap by calling
methods on the SiteMapBuilder.
|
boolean |
canHandleSiteMapConfiguration(SiteMapGeneratorConfiguration siteMapGeneratorConfiguration)
Returns true if this SiteMapGenerator is able to process the passed in siteMapGeneratorConfiguration.
|
protected Date |
generateDate(SiteMapUrlEntry urlEntry) |
protected String |
generateUri(SiteMapBuilder smb,
SiteMapUrlEntry urlEntry) |
public boolean canHandleSiteMapConfiguration(SiteMapGeneratorConfiguration siteMapGeneratorConfiguration)
canHandleSiteMapConfiguration in interface SiteMapGeneratorsiteMapGeneratorConfiguration - public void addSiteMapEntries(SiteMapGeneratorConfiguration smgc, SiteMapBuilder siteMapBuilder)
SiteMapGeneratoraddSiteMapEntries in interface SiteMapGeneratorprotected String generateUri(SiteMapBuilder smb, SiteMapUrlEntry urlEntry)
protected Date generateDate(SiteMapUrlEntry urlEntry)
Copyright © 2022. All rights reserved.