public enum SitemapContextType extends Enum<SitemapContextType>
Enum Constant and Description |
---|
CHILD_PAGES
The sitemap of the context is all child pages of the current page.
|
CHILD_PAGES_OF
The sitemap of the context is all child pages of the pages returned by
SitemapContext.getPages() . |
CURRENT_SITE
The sitemap of the context is the whole sitemap of the current site.
|
DIRECT_CHILD_PAGES
The sitemap of the context is direct child pages of the current page.
|
DIRECT_CHILD_PAGES_OF
The sitemap of the context is direct child pages of the pages returned by
SitemapContext.getPages() . |
Modifier and Type | Method and Description |
---|---|
static SitemapContextType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SitemapContextType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SitemapContextType CURRENT_SITE
public static final SitemapContextType CHILD_PAGES
public static final SitemapContextType CHILD_PAGES_OF
SitemapContext.getPages()
.public static final SitemapContextType DIRECT_CHILD_PAGES
public static final SitemapContextType DIRECT_CHILD_PAGES_OF
SitemapContext.getPages()
.public static SitemapContextType[] values()
for (SitemapContextType c : SitemapContextType.values()) System.out.println(c);
public static SitemapContextType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null