Package com.vladsch.flexmark.parser
Enum ParserEmulationProfile
- java.lang.Object
-
- java.lang.Enum<ParserEmulationProfile>
-
- com.vladsch.flexmark.parser.ParserEmulationProfile
-
- All Implemented Interfaces:
MutableDataSetter
,java.io.Serializable
,java.lang.Comparable<ParserEmulationProfile>
public enum ParserEmulationProfile extends java.lang.Enum<ParserEmulationProfile> implements MutableDataSetter
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMONMARK
COMMONMARK_0_26
COMMONMARK_0_27
COMMONMARK_0_28
COMMONMARK_0_29
FIXED_INDENT
GITHUB
GITHUB_DOC
KRAMDOWN
MARKDOWN
MULTI_MARKDOWN
PEGDOWN
PEGDOWN_STRICT
-
Field Summary
Fields Modifier and Type Field Description ParserEmulationProfile
family
static DataKey<java.lang.Integer>
PEGDOWN_EXTENSIONS
Key used to hold user pegdown extension selection
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableListOptions
getOptions()
MutableListOptions
getOptions(DataHolder dataHolder)
MutableDataHolder
getProfileOptions()
static boolean
haveAll(int extensions, int mask)
static boolean
haveAny(int extensions, int mask)
MutableDataHolder
setIn(MutableDataHolder dataHolder)
static ParserEmulationProfile
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ParserEmulationProfile[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMONMARK
public static final ParserEmulationProfile COMMONMARK
-
COMMONMARK_0_26
public static final ParserEmulationProfile COMMONMARK_0_26
-
COMMONMARK_0_27
public static final ParserEmulationProfile COMMONMARK_0_27
-
COMMONMARK_0_28
public static final ParserEmulationProfile COMMONMARK_0_28
-
COMMONMARK_0_29
public static final ParserEmulationProfile COMMONMARK_0_29
-
FIXED_INDENT
public static final ParserEmulationProfile FIXED_INDENT
-
KRAMDOWN
public static final ParserEmulationProfile KRAMDOWN
-
MARKDOWN
public static final ParserEmulationProfile MARKDOWN
-
GITHUB_DOC
public static final ParserEmulationProfile GITHUB_DOC
-
GITHUB
public static final ParserEmulationProfile GITHUB
-
MULTI_MARKDOWN
public static final ParserEmulationProfile MULTI_MARKDOWN
-
PEGDOWN
public static final ParserEmulationProfile PEGDOWN
-
PEGDOWN_STRICT
public static final ParserEmulationProfile PEGDOWN_STRICT
-
-
Field Detail
-
family
public final ParserEmulationProfile family
-
PEGDOWN_EXTENSIONS
public static final DataKey<java.lang.Integer> PEGDOWN_EXTENSIONS
Key used to hold user pegdown extension selection
-
-
Method Detail
-
values
public static ParserEmulationProfile[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ParserEmulationProfile c : ParserEmulationProfile.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParserEmulationProfile valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getProfileOptions
public MutableDataHolder getProfileOptions()
-
getOptions
public MutableListOptions getOptions()
-
getOptions
public MutableListOptions getOptions(DataHolder dataHolder)
-
setIn
@NotNull public MutableDataHolder setIn(@NotNull MutableDataHolder dataHolder)
- Specified by:
setIn
in interfaceMutableDataSetter
-
haveAny
public static boolean haveAny(int extensions, int mask)
-
haveAll
public static boolean haveAll(int extensions, int mask)
-
-