Enum FacesVersion

java.lang.Object
java.lang.Enum<FacesVersion>
org.apache.myfaces.tobago.util.FacesVersion
All Implemented Interfaces:
Serializable, Comparable<FacesVersion>, java.lang.constant.Constable

public enum FacesVersion extends Enum<FacesVersion>
  • Enum Constant Details

  • Method Details

    • values

      public static FacesVersion[] 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 FacesVersion 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
    • supports12

      public static boolean supports12()
      Does the JSF is version 1.2 or higher
      Returns:
      Supports 1.2 or higher
    • supports20

      public static boolean supports20()
      Does the JSF is version 2.0 or higher
      Returns:
      Supports 2.0 or higher
    • supports21

      public static boolean supports21()
      Does the JSF is version 2.1 or higher
      Returns:
      Supports 2.1 or higher
    • supports22

      public static boolean supports22()
      Does the JSF is version 2.2 or higher
      Returns:
      Supports 2.2 or higher
    • supports23

      public static boolean supports23()
      Does the JSF is version 2.3 or higher
      Returns:
      Supports 2.3 or higher
    • isMojarra

      public static boolean isMojarra()
    • isMyfaces

      public static boolean isMyfaces()