Package com.vladsch.flexmark.util.ast
Enum Class TextContainer.Flags
- All Implemented Interfaces:
BitField
,Serializable
,Comparable<TextContainer.Flags>
,Constable
- Enclosing interface:
TextContainer
-
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getBits()
static TextContainer.Flags
Returns the enum constant of this class with the specified name.static TextContainer.Flags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LINK_TEXT_TYPE
-
NODE_TEXT
-
FOR_HEADING_ID
-
NO_TRIM_REF_TEXT_START
-
NO_TRIM_REF_TEXT_END
-
ADD_SPACES_BETWEEN_NODES
-
-
Field Details
-
bits
final int bits
-
-
Constructor Details
-
Flags
private Flags() -
Flags
private Flags(int bits)
-
-
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
-
getBits
public int getBits()
-