public enum HyperlinkTypeEnum extends Enum<HyperlinkTypeEnum> implements JREnum
Enum Constant and Description |
---|
CUSTOM
Custom hyperlink type.
|
LOCAL_ANCHOR
Constant useful for specifying that the hyperlink points to a local anchor, specified by the hyperlink
anchor expression.
|
LOCAL_PAGE
Constant useful for specifying that the hyperlink points to a 1 based page index within the current document.
|
NONE
Constant useful for specifying that the element does not contain a hyperlink.
|
NULL
Not set hyperlink type.
|
REFERENCE
Constant useful for specifying that the hyperlink points to an external resource specified by the
hyperlink reference expression.
|
REMOTE_ANCHOR
Constant useful for specifying that the hyperlink points to a remote anchor (specified by the hyperlink
anchor expression) within an external document (specified by the hyperlink reference expression).
|
REMOTE_PAGE
Constant useful for specifying that the hyperlink points to a 1 based page index within an external document
(specified by the hyperlink reference expression).
|
Modifier and Type | Method and Description |
---|---|
static HyperlinkTypeEnum |
getByName(String name) |
static HyperlinkTypeEnum |
getByValue(byte value)
Deprecated.
Used only by deprecated serialized fields.
|
static HyperlinkTypeEnum |
getByValue(Byte value)
Deprecated.
Used only by deprecated serialized fields.
|
String |
getName() |
byte |
getValue()
Deprecated.
Used only by deprecated serialized fields.
|
Byte |
getValueByte()
Deprecated.
Used only by deprecated serialized fields.
|
static HyperlinkTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HyperlinkTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HyperlinkTypeEnum NULL
public static final HyperlinkTypeEnum NONE
public static final HyperlinkTypeEnum REFERENCE
public static final HyperlinkTypeEnum LOCAL_ANCHOR
public static final HyperlinkTypeEnum LOCAL_PAGE
public static final HyperlinkTypeEnum REMOTE_ANCHOR
public static final HyperlinkTypeEnum REMOTE_PAGE
public static final HyperlinkTypeEnum CUSTOM
The specific type is determined by getLinkType()
.
public static HyperlinkTypeEnum[] values()
for (HyperlinkTypeEnum c : HyperlinkTypeEnum.values()) System.out.println(c);
public static HyperlinkTypeEnum 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 Byte getValueByte()
getValueByte
in interface JREnum
public final byte getValue()
public static HyperlinkTypeEnum getByName(String name)
public static HyperlinkTypeEnum getByValue(Byte value)
public static HyperlinkTypeEnum getByValue(byte value)
Copyright © 2017. All rights reserved.