Enum FacesVersion

    • Method Detail

      • values

        public static FacesVersion[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FacesVersion c : FacesVersion.values())
            System.out.println(c);
        
        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()