public enum HeadingStyle extends Enum<HeadingStyle>
| Enum Constant and Description |
|---|
AS_IS |
ATX_PREFERRED |
SETEXT_PREFERRED |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAtx() |
boolean |
isNoChange() |
boolean |
isNoChange(boolean isSetext,
int level) |
boolean |
isSetext() |
static HeadingStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeadingStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeadingStyle AS_IS
public static final HeadingStyle ATX_PREFERRED
public static final HeadingStyle SETEXT_PREFERRED
public static HeadingStyle[] values()
for (HeadingStyle c : HeadingStyle.values()) System.out.println(c);
public static HeadingStyle 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 boolean isNoChange()
public boolean isNoChange(boolean isSetext,
int level)
public boolean isAtx()
public boolean isSetext()
Copyright © 2020. All rights reserved.