|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FacesVersion>
org.apache.myfaces.tobago.util.FacesVersion
public enum FacesVersion
Enum Constant Summary | |
---|---|
VERSION_11
|
|
VERSION_12
|
|
VERSION_20
|
|
VERSION_21
|
Method Summary | |
---|---|
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)
Returns the enum constant of this type with the specified name. |
static FacesVersion[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FacesVersion VERSION_11
public static final FacesVersion VERSION_12
public static final FacesVersion VERSION_20
public static final FacesVersion VERSION_21
Method Detail |
---|
public static FacesVersion[] values()
for (FacesVersion c : FacesVersion.values()) System.out.println(c);
public static FacesVersion valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static boolean supports12()
public static boolean supports20()
public static boolean supports21()
public static boolean isMojarra()
public static boolean isMyfaces()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |