Package org.opencms.file.types
Enum I_CmsResourceType.Formatter
- All Implemented Interfaces:
Serializable
,Comparable<I_CmsResourceType.Formatter>
,java.lang.constant.Constable
- Enclosing interface:
- I_CmsResourceType
Resource formatter.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe gallery list item formatter.The gallery list item formatter.The gallery preview formatter.The gallery list item formatter.The sitemap formatter. -
Method Summary
Modifier and TypeMethodDescriptionGet the default path.getName()
Get the name.static I_CmsResourceType.Formatter
Returns the enum constant of this type with the specified name.static I_CmsResourceType.Formatter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ADE_LIST
The gallery list item formatter. -
GALLERY_LIST
The gallery list item formatter. -
GALLERY_PREVIEW
The gallery preview formatter. -
PUBLISH_LIST
The gallery list item formatter. -
SITEMAP
The sitemap formatter.
-
-
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
-
getDefaultPath
Get the default path.- Returns:
- the default path
-
getName
Get the name.- Returns:
- the name
-