@ConsumerType
public interface SitemapPageFilter
shouldInclude(Page) can be used to exclude individual Pages from all sitemaps and
shouldFollow(Page) to stop the traversal at a given Page. However, both methods only complement the
default behaviour. Pages that are unpublished, protected, redirect or marked not to be indexed by search engines, will remain
excluded from all sitemaps.
If there are multiple SitemapPageFilter services registered, the one with the highest service ranking will be used.
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldFollow(Page page)
Implementations may return
false to exclude the given subtree from all sitemaps. |
boolean |
shouldInclude(Page page)
Implementations may return
false to exclude the given Page from all sitemaps. |
Copyright © 2010 - 2023 Adobe. All Rights Reserved