public enum UrlType extends Enum<UrlType>
| Enum Constant and Description |
|---|
DOCUMENT
Document URL type.
|
MANUAL
Manual URL type.
|
| Modifier and Type | Field and Description |
|---|---|
static UrlType |
DEFAULT
Default URL type.
|
| Modifier and Type | Method and Description |
|---|---|
static UrlType |
fromId(String id)
Get URL type from identifier.
|
String |
getId()
Getter for id.
|
String |
getKey()
Getter for key.
|
static UrlType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UrlType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UrlType MANUAL
public static final UrlType DOCUMENT
public static final UrlType DEFAULT
public static UrlType[] values()
for (UrlType c : UrlType.values()) System.out.println(c);
public static UrlType 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 nullpublic static UrlType fromId(String id)
id - URL type identifierpublic String getId()
public String getKey()
Copyright © 2021 OSIVIA. All rights reserved.