Package com.vladsch.flexmark.parser
Enum Class ParserEmulationProfile
- All Implemented Interfaces:
MutableDataSetter
,Serializable
,Comparable<ParserEmulationProfile>
,Constable
public enum ParserEmulationProfile
extends Enum<ParserEmulationProfile>
implements MutableDataSetter
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ParserEmulationProfile
Key used to hold user pegdown extension selection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOptions
(DataHolder dataHolder) static boolean
haveAll
(int extensions, int mask) static boolean
haveAny
(int extensions, int mask) @NotNull MutableDataHolder
setIn
(@NotNull MutableDataHolder dataHolder) static ParserEmulationProfile
Returns the enum constant of this class with the specified name.static ParserEmulationProfile[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMMONMARK
-
COMMONMARK_0_26
-
COMMONMARK_0_27
-
COMMONMARK_0_28
-
COMMONMARK_0_29
-
FIXED_INDENT
-
KRAMDOWN
-
MARKDOWN
-
GITHUB_DOC
-
GITHUB
-
MULTI_MARKDOWN
-
PEGDOWN
-
PEGDOWN_STRICT
-
-
Field Details
-
family
-
PEGDOWN_EXTENSIONS
Key used to hold user pegdown extension selection
-
-
Constructor Details
-
ParserEmulationProfile
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getProfileOptions
-
getOptions
-
getOptions
-
setIn
- Specified by:
setIn
in interfaceMutableDataSetter
-
haveAny
public static boolean haveAny(int extensions, int mask) -
haveAll
public static boolean haveAll(int extensions, int mask)
-