Enum Navigation.Element.Type

java.lang.Object
java.lang.Enum<Navigation.Element.Type>
com.day.cq.wcm.foundation.Navigation.Element.Type
All Implemented Interfaces:
Serializable, Comparable<Navigation.Element.Type>, java.lang.constant.Constable
Enclosing class:
Navigation.Element

public static enum Navigation.Element.Type extends Enum<Navigation.Element.Type>
Type of the navigation element
  • Enum Constant Details

    • NODE_OPEN

      public static final Navigation.Element.Type NODE_OPEN
      Denotes that is element is an open node, e.g. an <UL> tag.
    • ITEM_BEGIN

      public static final Navigation.Element.Type ITEM_BEGIN
      Denotes that this element is the beginning of an item, e.g. an <LI> tag.
    • ITEM_END

      public static final Navigation.Element.Type ITEM_END
      Denotes that this element is the end of an item, e.g. an </LI> tag.
    • NODE_CLOSE

      public static final Navigation.Element.Type NODE_CLOSE
      Denotes that is element is a closed node, e.g. an </UL> tag.
  • Method Details

    • values

      public static Navigation.Element.Type[] 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

      public static Navigation.Element.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null