public static enum MyAppViewConfig.Pages extends Enum<MyAppViewConfig.Pages>
| Modifier and Type | Method and Description |
|---|---|
static MyAppViewConfig.Pages |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MyAppViewConfig.Pages[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@ViewPattern(value="/admin.xhtml") public static final MyAppViewConfig.Pages ADMIN
@UrlMapping(pattern="/item/#{id}/")
@ViewPattern(value="/item.xhtml")
public static final MyAppViewConfig.Pages ITEM
@FacesRedirect @ViewPattern(value="/*") @AccessDeniedView(value="/denied.xhtml") @LoginView(value="/login.xhtml") public static final MyAppViewConfig.Pages ALL
public static MyAppViewConfig.Pages[] values()
for (MyAppViewConfig.Pages c : MyAppViewConfig.Pages.values()) System.out.println(c);
public static MyAppViewConfig.Pages valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2009-2013 Seam Framework. All Rights Reserved.