Package org.omnifaces.resourcehandler
Enum WebAppManifest.Category
- java.lang.Object
-
- java.lang.Enum<WebAppManifest.Category>
-
- org.omnifaces.resourcehandler.WebAppManifest.Category
-
- All Implemented Interfaces:
Serializable
,Comparable<WebAppManifest.Category>
- Enclosing class:
- WebAppManifest
protected static enum WebAppManifest.Category extends Enum<WebAppManifest.Category>
Enumeration of categories, to be used inWebAppManifest.getCategories()
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOKS
BUSINESS
EDUCATION
ENTERTAINMENT
FINANCE
FITNESS
FOOD
GAMES
GOVERNMENT
HEALTH
KIDS
LIFESTYLE
MAGAZINES
MEDICAL
MUSIC
NAVIGATION
NEWS
PERSONALIZATION
PHOTO
POLITICS
PRODUCTIVITY
SECURITY
SHOPPING
SOCIAL
SPORTS
TRAVEL
UTILITIES
WEATHER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static WebAppManifest.Category
valueOf(String name)
Returns the enum constant of this type with the specified name.static WebAppManifest.Category[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOKS
public static final WebAppManifest.Category BOOKS
-
BUSINESS
public static final WebAppManifest.Category BUSINESS
-
EDUCATION
public static final WebAppManifest.Category EDUCATION
-
ENTERTAINMENT
public static final WebAppManifest.Category ENTERTAINMENT
-
FINANCE
public static final WebAppManifest.Category FINANCE
-
FITNESS
public static final WebAppManifest.Category FITNESS
-
FOOD
public static final WebAppManifest.Category FOOD
-
GAMES
public static final WebAppManifest.Category GAMES
-
GOVERNMENT
public static final WebAppManifest.Category GOVERNMENT
-
HEALTH
public static final WebAppManifest.Category HEALTH
-
KIDS
public static final WebAppManifest.Category KIDS
-
LIFESTYLE
public static final WebAppManifest.Category LIFESTYLE
-
MAGAZINES
public static final WebAppManifest.Category MAGAZINES
-
MEDICAL
public static final WebAppManifest.Category MEDICAL
-
MUSIC
public static final WebAppManifest.Category MUSIC
-
NAVIGATION
public static final WebAppManifest.Category NAVIGATION
-
NEWS
public static final WebAppManifest.Category NEWS
-
PERSONALIZATION
public static final WebAppManifest.Category PERSONALIZATION
-
PHOTO
public static final WebAppManifest.Category PHOTO
-
POLITICS
public static final WebAppManifest.Category POLITICS
-
PRODUCTIVITY
public static final WebAppManifest.Category PRODUCTIVITY
-
SECURITY
public static final WebAppManifest.Category SECURITY
-
SHOPPING
public static final WebAppManifest.Category SHOPPING
-
SOCIAL
public static final WebAppManifest.Category SOCIAL
-
SPORTS
public static final WebAppManifest.Category SPORTS
-
TRAVEL
public static final WebAppManifest.Category TRAVEL
-
UTILITIES
public static final WebAppManifest.Category UTILITIES
-
WEATHER
public static final WebAppManifest.Category WEATHER
-
-
Method Detail
-
values
public static WebAppManifest.Category[] 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 (WebAppManifest.Category c : WebAppManifest.Category.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebAppManifest.Category 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 nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<WebAppManifest.Category>
-
-