Enum ComponentPosition

java.lang.Object
java.lang.Enum<ComponentPosition>
com.semanticcms.core.servlet.ComponentPosition
All Implemented Interfaces:
Serializable, Comparable<ComponentPosition>

public enum ComponentPosition extends Enum<ComponentPosition>
The set of allowed component locations.
  • Enum Constant Details

    • HEAD_START

      public static final ComponentPosition HEAD_START
      Components called just after the head opening tag. These components are called in the order registered.
    • HEAD_END

      public static final ComponentPosition HEAD_END
      Components called just before the head closing tag. These components are called in the reverse order registered.
    • BODY_START

      public static final ComponentPosition BODY_START
      Components called just after the body opening tag. These components are called in the order registered.
    • BODY_END

      public static final ComponentPosition BODY_END
      Components called just before the body closing tag. These components are called in the reverse order registered.
  • Method Details

    • values

      public static ComponentPosition[] 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 ComponentPosition 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