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