public final enum

FacesVersion

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ org.apache.myfaces.tobago.util.FacesVersion

Summary

Enum Values
FacesVersion  VERSION_11   
FacesVersion  VERSION_12   
FacesVersion  VERSION_20   
FacesVersion  VERSION_21   
Public Methods
static boolean isMojarra()
static boolean isMyfaces()
static boolean supports12()
Does the JSF is version 1.2 or higher
static boolean supports20()
Does the JSF is version 2.0 or higher
static boolean supports21()
Does the JSF is version 2.1 or higher
static FacesVersion valueOf(String name)
final static FacesVersion[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final FacesVersion VERSION_11

public static final FacesVersion VERSION_12

public static final FacesVersion VERSION_20

public static final FacesVersion VERSION_21

Public Methods

public static boolean isMojarra ()

public static boolean isMyfaces ()

public static boolean supports12 ()

Does the JSF is version 1.2 or higher

Returns
  • Supports 1.2 or higher

public static boolean supports20 ()

Does the JSF is version 2.0 or higher

Returns
  • Supports 2.0 or higher

public static boolean supports21 ()

Does the JSF is version 2.1 or higher

Returns
  • Supports 2.1 or higher

public static FacesVersion valueOf (String name)

public static final FacesVersion[] values ()