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 Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ParserEmulationProfileKey used to hold user pegdown extension selection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOptions(DataHolder dataHolder) static booleanhaveAll(int extensions, int mask) static booleanhaveAny(int extensions, int mask) @NotNull MutableDataHoldersetIn(@NotNull MutableDataHolder dataHolder) static ParserEmulationProfileReturns 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
-
-
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:
setInin interfaceMutableDataSetter
-
haveAny
public static boolean haveAny(int extensions, int mask) -
haveAll
public static boolean haveAll(int extensions, int mask)
-