Enum Class FacesVersion
- All Implemented Interfaces:
- Serializable,- Comparable<FacesVersion>,- Constable
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanstatic booleanstatic booleanDoes the JSF is version 1.2 or higherstatic booleanDoes the JSF is version 2.0 or higherstatic booleanDoes the JSF is version 2.1 or higherstatic booleanDoes the JSF is version 2.2 or higherstatic booleanDoes the JSF is version 2.3 or higherstatic FacesVersionReturns the enum constant of this class with the specified name.static FacesVersion[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
VERSION_11
- 
VERSION_12
- 
VERSION_20
- 
VERSION_21
- 
VERSION_22
- 
VERSION_23
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
supports12public static boolean supports12()Does the JSF is version 1.2 or higher- Returns:
- Supports 1.2 or higher
 
- 
supports20public static boolean supports20()Does the JSF is version 2.0 or higher- Returns:
- Supports 2.0 or higher
 
- 
supports21public static boolean supports21()Does the JSF is version 2.1 or higher- Returns:
- Supports 2.1 or higher
 
- 
supports22public static boolean supports22()Does the JSF is version 2.2 or higher- Returns:
- Supports 2.2 or higher
 
- 
supports23public static boolean supports23()Does the JSF is version 2.3 or higher- Returns:
- Supports 2.3 or higher
 
- 
isMojarrapublic static boolean isMojarra()
- 
isMyfacespublic static boolean isMyfaces()
 
-