public enum HyperlinkType extends Enum<HyperlinkType> implements Enumerator
ExcelPackage.getHyperlinkType()
Enum Constant and Description |
---|
DOCUMENT
The 'Document' literal object.
|
EMAIL
The 'Email' literal object.
|
FILE
The 'File' literal object.
|
URL
The 'Url' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
DOCUMENT_VALUE
The 'Document' literal value.
|
static int |
EMAIL_VALUE
The 'Email' literal value.
|
static int |
FILE_VALUE
The 'File' literal value.
|
static int |
URL_VALUE
The 'Url' literal value.
|
static List<HyperlinkType> |
VALUES
A public read-only list of all the 'Hyperlink Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static HyperlinkType |
get(int value)
Returns the 'Hyperlink Type' literal with the specified integer value.
|
static HyperlinkType |
get(String literal)
Returns the 'Hyperlink Type' literal with the specified literal value.
|
static HyperlinkType |
getByName(String name)
Returns the 'Hyperlink Type' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static HyperlinkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HyperlinkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HyperlinkType URL
URL_VALUE
public static final HyperlinkType DOCUMENT
DOCUMENT_VALUE
public static final HyperlinkType EMAIL
EMAIL_VALUE
public static final HyperlinkType FILE
FILE_VALUE
public static final int URL_VALUE
URL
,
Constant Field Valuespublic static final int DOCUMENT_VALUE
DOCUMENT
,
Constant Field Valuespublic static final int EMAIL_VALUE
EMAIL
,
Constant Field Valuespublic static final int FILE_VALUE
FILE
,
Constant Field Valuespublic static final List<HyperlinkType> VALUES
public static HyperlinkType[] values()
for (HyperlinkType c : HyperlinkType.values()) System.out.println(c);
public static HyperlinkType 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 HyperlinkType get(String literal)
literal
- the literal.null
.public static HyperlinkType getByName(String name)
name
- the name.null
.public static HyperlinkType get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<HyperlinkType>