public static enum Page.LinkType extends Enum<Page.LinkType>
Enum Constant and Description |
---|
PAGE
Internal page
|
WEB
External page
|
Modifier and Type | Method and Description |
---|---|
static Page.LinkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Page.LinkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Page.LinkType WEB
public static final Page.LinkType PAGE
public static Page.LinkType[] values()
for (Page.LinkType c : Page.LinkType.values()) System.out.println(c);
public static Page.LinkType 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 null