Package com.day.cq.wcm.foundation
Enum Navigation.Element.Type
- All Implemented Interfaces:
Serializable,Comparable<Navigation.Element.Type>,java.lang.constant.Constable
- Enclosing class:
Navigation.Element
Type of the navigation element
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDenotes that this element is the beginning of an item, e.g.Denotes that this element is the end of an item, e.g.Denotes that is element is a closed node, e.g.Denotes that is element is an open node, e.g. -
Method Summary
Modifier and TypeMethodDescriptionstatic Navigation.Element.TypeReturns the enum constant of this type with the specified name.static Navigation.Element.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NODE_OPEN
Denotes that is element is an open node, e.g. an <UL> tag. -
ITEM_BEGIN
Denotes that this element is the beginning of an item, e.g. an <LI> tag. -
ITEM_END
Denotes that this element is the end of an item, e.g. an </LI> tag. -
NODE_CLOSE
Denotes that is element is a closed node, e.g. an </UL> tag.
-
-
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
-