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