Package org.opencms.ade.sitemap.shared
Enum CmsClientSitemapEntry.EntryType
java.lang.Object
java.lang.Enum<CmsClientSitemapEntry.EntryType>
org.opencms.ade.sitemap.shared.CmsClientSitemapEntry.EntryType
- All Implemented Interfaces:
Serializable
,Comparable<CmsClientSitemapEntry.EntryType>
,java.lang.constant.Constable
- Enclosing class:
- CmsClientSitemapEntry
An enum for the entry type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe default type.An entry of type leaf doesn't have any children.A folder without default file, linking to it's first child entry.A redirect entry.An entry of type sub-sitemap is a reference to a sub-sitemap. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static CmsClientSitemapEntry.EntryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
folder
The default type. An entry of type folder may have children. -
leaf
An entry of type leaf doesn't have any children. -
redirect
A redirect entry. -
subSitemap
An entry of type sub-sitemap is a reference to a sub-sitemap.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-